{"openapi":"3.1.0","info":{"title":"CoinLore Crypto API (Unofficial OpenAPI Spec)","description":"Complete OpenAPI 3.1 specification for the public CoinLore cryptocurrency API.\n\nKey facts (from the official docs as of June 11, 2026):\n- Base URL: https://api.coinlore.net\n- Authentication: none (public API; no API key required).\n- Recommended rate limit: ~1 request/second for fair usage (no strict enforced limit documented).\n- Pagination: /api/tickers/ supports start (0-based) and limit (max 100). Use info.coins_num from the response to iterate through the full set.\n- Coverage: global market stats; lightweight asset list; paginated tickers; movers (top winners/losers) for 1h/24h/7d with 24h volume filter ≥ $50,000; per-coin ticker(s) by id; static coin metadata; 365-day daily OHLCV; coin markets (top ~50); exchanges list; specific exchange (top ~100 pairs); social stats (Twitter/Reddit).\n\nSupport: contact@coinlore.com.","version":"1.0.1"},"servers":[{"url":"https://api.onestop.sh/v1/invoke/one-stop/live-crypto-prices-and-market-caps-coinlore"}],"security":[{"oneStopApiKey":[]}],"components":{"securitySchemes":{"oneStopApiKey":{"type":"http","scheme":"bearer"}}},"paths":{"/api/global/":{"get":{"operationId":"getGlobal","summary":"Get global cryptocurrency market statistics","description":"Returns an array with a single object of global crypto statistics such as total coins, active markets, total market cap/volume, BTC and ETH dominance, and related aggregate metrics. No authentication required. Response is an array with one object as per official docs.","responses":{"200":{"description":"Response."},"400":{"description":"Response."},"429":{"description":"Response."}}}},"/api/assets/":{"get":{"operationId":"getAssets","summary":"List all coins (lightweight)","description":"Returns a lightweight array of all assets with id, symbol, name, nameid and rank. No pagination — full list in a single response. No authentication required.","responses":{"200":{"description":"Response."},"429":{"description":"Response."}}}},"/api/tickers/":{"get":{"operationId":"getTickers","summary":"Get tickers (paginated by start/limit)","description":"Returns ticker data for multiple coins sorted by market cap. Use start (0-based index) and limit (max 100) to page through the ranked list. No authentication required. Use info.coins_num to determine total coins for pagination.","parameters":[{"name":"start","in":"query","description":"Offset index of the first coin to return (0-based, sorted by market cap). Example: 0 returns ranks #1–100 when limit=100.","required":false,"style":"form","explode":true,"schema":{"type":"integer","default":0,"minimum":0}},{"name":"limit","in":"query","description":"Number of coins to return (maximum 100).","required":false,"style":"form","explode":true,"schema":{"type":"integer","default":100,"minimum":1,"maximum":100}}],"responses":{"200":{"description":"Response."},"400":{"description":"Response."},"429":{"description":"Response."}}}},"/api/movers/":{"get":{"operationId":"getMovers","summary":"Get top movers (winners/losers)","description":"Returns the top 20 winners and top 20 losers filtered by minimum $50k 24h volume. Sortable by 1h, 24h (default), or 7d price change. No auth required.","parameters":[{"name":"sort","in":"query","description":"Time window for ranking: '24h' (default), '1h', or '7d'.","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["1h","24h","7d"],"default":"24h"}}],"responses":{"200":{"description":"Response."},"400":{"description":"Response."},"429":{"description":"Response."}}}},"/api/ticker/":{"get":{"operationId":"getTickerById","summary":"Get ticker for one or more coins by id","description":"Returns current ticker data for one or more coins. Provide coin's CoinLore id as query parameter id. Multiple IDs can be comma-separated (e.g., 90,80,58). Use IDs from /api/assets/ or /api/tickers/. No authentication required.","parameters":[{"name":"id","in":"query","description":"CoinLore coin ID (string). You may pass multiple IDs separated by commas (e.g., 90,80,58). Use id values from /api/assets/ or /api/tickers/.","required":true,"style":"form","explode":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Response."},"400":{"description":"Response."},"404":{"description":"Response."},"429":{"description":"Response."}}}},"/api/coin/info/":{"get":{"operationId":"getCoinInfo","summary":"Get static metadata for a specific coin","description":"Returns static metadata including logo, ATH, supply, launch date, website, social links, platform, and first recorded price/date. Provide coin id via query 'id'. No authentication required.","parameters":[{"name":"id","in":"query","description":"CoinLore coin ID. Obtain IDs from /api/assets/ or /api/tickers/. Example: '90' for Bitcoin.","required":true,"style":"form","explode":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Response."},"400":{"description":"Response."},"404":{"description":"Response."},"429":{"description":"Response."}}}},"/api/coin/ohlcv/":{"get":{"operationId":"getCoinOhlcv","summary":"Get daily OHLCV history (365 days) for a coin","description":"Returns up to 365 days of daily OHLCV for the specified coin id. Provide coin id via query parameter 'coin'. Response is an object keyed by date (YYYY-MM-DD), where each value is an array: [timestamp, open, high, low, close, volume]. No authentication required.","parameters":[{"name":"coin","in":"query","description":"CoinLore coin ID. Example: '90' for Bitcoin. Note: this endpoint uses 'coin' (not 'id').","required":true,"style":"form","explode":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Response."},"400":{"description":"Response."},"404":{"description":"Response."},"429":{"description":"Response."}}}},"/api/coin/markets/":{"get":{"operationId":"getCoinMarkets","summary":"Get markets/exchanges for a specific coin","description":"Returns up to the first 50 exchange markets for the specified coin id. Provide coin id via query parameter 'id'. No authentication required.","parameters":[{"name":"id","in":"query","description":"CoinLore coin ID (e.g., '90' for Bitcoin). Use IDs from /api/assets/ or /api/ticker(s)/.","required":true,"style":"form","explode":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Response."},"400":{"description":"Response."},"404":{"description":"Response."},"429":{"description":"Response."}}}},"/api/exchanges/":{"get":{"operationId":"getExchanges","summary":"List all exchanges","description":"Returns all exchanges tracked by CoinLore. Response is an object keyed by exchange ID, with fields like id, name, name_id, volume_usd, active_pairs, url, and country. No authentication required.","responses":{"200":{"description":"Response."},"429":{"description":"Response."}}}},"/api/exchange/":{"get":{"operationId":"getExchangeById","summary":"Get an exchange's info and top pairs","description":"Returns information about a specific exchange and its top ~100 trading pairs. Provide exchange id via query parameter 'id'. Use ids from /api/exchanges/. No authentication required.","parameters":[{"name":"id","in":"query","description":"Exchange ID from /api/exchanges/. Example: '5' for Binance per docs example.","required":true,"style":"form","explode":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Response."},"400":{"description":"Response."},"404":{"description":"Response."},"429":{"description":"Response."}}}},"/api/coin/social_stats/":{"get":{"operationId":"getCoinSocialStats","summary":"Get social stats (Twitter/Reddit) for a coin","description":"Returns social statistics from Twitter and Reddit for the specified coin id. Provide coin id via query parameter 'id'. No authentication required. Response fields include nested twitter and reddit objects.","parameters":[{"name":"id","in":"query","description":"CoinLore coin ID. Example: '90' for Bitcoin.","required":true,"style":"form","explode":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Response."},"400":{"description":"Response."},"404":{"description":"Response."},"429":{"description":"Response."}}}}}}