{"openapi":"3.1.0","info":{"title":"TopKOLs API","version":"1.0.0","description":"Read-only data on crypto KOLs on X. Without a key: 30 requests a minute and 1,000 a day per IP address, at most 50 items a page and 1,000 results deep. With an API key (Authorization: Bearer <key> or x-api-key: <key>): the limits set on that key (by default 120 a minute, 20,000 a day, 100 a page, 5,000 results deep). An MCP tool call counts as one request. Over a limit: HTTP 429 with Retry-After."},"servers":[{"url":"https://topkols.com"}],"components":{"securitySchemes":{"apiKey":{"type":"http","scheme":"bearer","description":"Optional: an API key for the limits set on it."}}},"paths":{"/api/v1/kols":{"get":{"operationId":"searchKols","summary":"Search and filter crypto KOLs (key opinion leaders) on X tracked by TopKOLs. Every figure is measured from the public X profile, with its sample size and date, or null. Sorted by followers unless sort says otherwise.","parameters":[{"name":"q","in":"query","required":false,"description":"Words in the handle, name or bio.","schema":{"type":"string"}},{"name":"niche","in":"query","required":false,"schema":{"type":"string","enum":["memecoins","defi","trading","ai","nft","airdrops","bitcoin","research","news","dev","gaming","macro"]}},{"name":"chain","in":"query","required":false,"schema":{"type":"string","enum":["bitcoin","ethereum","solana","base","bnb","ton","arbitrum","sui","hyperliquid","avalanche"]}},{"name":"language","in":"query","required":false,"schema":{"type":"string","enum":["en","de","es","pt","fr","tr","it","ru","zh","ja","ko","vi"]}},{"name":"type","in":"query","required":false,"schema":{"type":"string","enum":["person","project","media","fund","exchange"]}},{"name":"market","in":"query","required":false,"description":"crypto accounts or stocks & markets accounts.","schema":{"type":"string","enum":["crypto","stocks"]}},{"name":"min_followers","in":"query","required":false,"schema":{"type":"integer","minimum":0}},{"name":"max_followers","in":"query","required":false,"schema":{"type":"integer","minimum":0}},{"name":"sort","in":"query","required":false,"description":"followers, growth (7 days, our snapshots), engagement (per view), views (average per post), active (posts per week).","schema":{"type":"string","enum":["followers","growth","engagement","views","active"]}},{"name":"page","in":"query","required":false,"description":"Page number (1 first).","schema":{"type":"integer","minimum":1}},{"name":"per_page","in":"query","required":false,"description":"Items per page (default 20; at most 50 without a key, the key's own maximum with one).","schema":{"type":"integer","minimum":1}}],"security":[{},{"apiKey":[]}],"responses":{"200":{"description":"JSON with \"attribution\"."},"400":{"description":"An invalid parameter, named in \"error\"."},"404":{"description":"Not found."},"429":{"description":"Over the limit; see Retry-After."}}}},"/api/v1/kols/{handle}":{"get":{"operationId":"getKol","summary":"One KOL by X handle, with every measured figure (followers, engagement, averages per post, growth over 7/30/90 days, posts per week).","parameters":[{"name":"handle","in":"path","required":true,"description":"The X handle, with or without @.","schema":{"type":"string"}}],"security":[{},{"apiKey":[]}],"responses":{"200":{"description":"JSON with \"attribution\"."},"400":{"description":"An invalid parameter, named in \"error\"."},"404":{"description":"Not found."},"429":{"description":"Over the limit; see Retry-After."}}}},"/api/v1/niches":{"get":{"operationId":"listNiches","summary":"The niches (categories) with how many measured KOLs each has.","parameters":[],"security":[{},{"apiKey":[]}],"responses":{"200":{"description":"JSON with \"attribution\"."},"400":{"description":"An invalid parameter, named in \"error\"."},"404":{"description":"Not found."},"429":{"description":"Over the limit; see Retry-After."}}}},"/api/v1/chains":{"get":{"operationId":"listChains","summary":"The chains with how many measured KOLs each has.","parameters":[],"security":[{},{"apiKey":[]}],"responses":{"200":{"description":"JSON with \"attribution\"."},"400":{"description":"An invalid parameter, named in \"error\"."},"404":{"description":"Not found."},"429":{"description":"Over the limit; see Retry-After."}}}},"/api/v1/languages":{"get":{"operationId":"listLanguages","summary":"The languages with how many measured KOLs each has.","parameters":[],"security":[{},{"apiKey":[]}],"responses":{"200":{"description":"JSON with \"attribution\"."},"400":{"description":"An invalid parameter, named in \"error\"."},"404":{"description":"Not found."},"429":{"description":"Over the limit; see Retry-After."}}}},"/api/v1/rankings/{chart}":{"get":{"operationId":"getRanking","summary":"A ranking of crypto KOLs: top (top crypto kols), rising (fastest growing), engagement (highest engagement), views (most viewed), active (most active), small (best small accounts). Only accounts with the figure are ranked.","parameters":[{"name":"chart","in":"path","required":true,"schema":{"type":"string","enum":["top","rising","engagement","views","active","small"]}},{"name":"page","in":"query","required":false,"description":"Page number (1 first).","schema":{"type":"integer","minimum":1}},{"name":"per_page","in":"query","required":false,"description":"Items per page (default 20; at most 50 without a key, the key's own maximum with one).","schema":{"type":"integer","minimum":1}}],"security":[{},{"apiKey":[]}],"responses":{"200":{"description":"JSON with \"attribution\"."},"400":{"description":"An invalid parameter, named in \"error\"."},"404":{"description":"Not found."},"429":{"description":"Over the limit; see Retry-After."}}}},"/api/v1/tokens/most-mentioned":{"get":{"operationId":"mostMentionedTokens","summary":"Tokens (cashtags and listed coins by name) named by the most distinct tracked KOLs in their stored posts, over a day, a week or a month.","parameters":[{"name":"period","in":"query","required":false,"schema":{"type":"string","enum":["day","week","month"]}},{"name":"page","in":"query","required":false,"description":"Page number (1 first).","schema":{"type":"integer","minimum":1}},{"name":"per_page","in":"query","required":false,"description":"Items per page (default 20; at most 50 without a key, the key's own maximum with one).","schema":{"type":"integer","minimum":1}}],"security":[{},{"apiKey":[]}],"responses":{"200":{"description":"JSON with \"attribution\"."},"400":{"description":"An invalid parameter, named in \"error\"."},"404":{"description":"Not found."},"429":{"description":"Over the limit; see Retry-After."}}}},"/api/v1/tokens/{symbol}":{"get":{"operationId":"getTokenKols","summary":"The tracked KOLs who named a token in their stored posts, earliest first mention first, with their posts naming it in the last 7 days.","parameters":[{"name":"symbol","in":"path","required":true,"description":"The token symbol, e.g. SOL.","schema":{"type":"string"}},{"name":"page","in":"query","required":false,"description":"Page number (1 first).","schema":{"type":"integer","minimum":1}},{"name":"per_page","in":"query","required":false,"description":"Items per page (default 20; at most 50 without a key, the key's own maximum with one).","schema":{"type":"integer","minimum":1}}],"security":[{},{"apiKey":[]}],"responses":{"200":{"description":"JSON with \"attribution\"."},"400":{"description":"An invalid parameter, named in \"error\"."},"404":{"description":"Not found."},"429":{"description":"Over the limit; see Retry-After."}}}},"/api/v1/export":{"get":{"operationId":"exportKols","summary":"Every measured KOL (handle, niches, chains, followers, engagement, link, credit). API keys with export allowed only.","parameters":[{"name":"format","in":"query","required":false,"schema":{"type":"string","enum":["json","csv"]}}],"security":[{"apiKey":[]}],"responses":{"200":{"description":"JSON or CSV."},"401":{"description":"No key, or not valid."},"403":{"description":"The key may not export."}}}}}}