{"openapi":"3.1.0","info":{"title":"CoinMarketCal (BYOK) API","version":"0.1.0","description":"CoinMarketCal (BYOK) lets an AI assistant read your own CoinMarketCal data through the CoinMarketCal API with a key you supply (CoinMarketCal API key (free plan: 3,000 requests a month)). Read-only: 7 tools (list_events, get_event, list_event_cancellations, list_categories, list_coins, get_coin, get_usage). The BYOK key travels with each request, is used for that one call only and is never...\n\nEvery operation is read-only or compute-only. The same tools are available over MCP (streamable HTTP) at https://byok-coinmarketcal.connectorbay.com/mcp.","contact":{"name":"Unify Dynamics LLC","email":"agent@connectorbay.com","url":"https://connectorbay.com/byok-coinmarketcal/docs"},"termsOfService":"https://connectorbay.com/byok-coinmarketcal/terms"},"servers":[{"url":"https://byok-coinmarketcal.connectorbay.com"}],"externalDocs":{"url":"https://connectorbay.com/byok-coinmarketcal/docs"},"security":[{"upstreamKey":[]}],"components":{"securitySchemes":{"bearer":{"type":"http","scheme":"bearer","description":"Optional. A Pro API key raises rate limits; no credentials are required."},"upstreamKey":{"type":"apiKey","in":"header","name":"X-Upstream-Key","description":"Your own key for the service this connector wraps (bring your own key). Used for that one call only; never stored, logged or cached."}},"schemas":{"Error":{"type":"object","properties":{"ok":{"const":false},"error":{"type":"object"}}}}},"paths":{"/v1/tools/list_events":{"post":{"operationId":"list_events","summary":"List crypto events by date, soonest first by default, filtered by coins, categories (paid plans) or a keyword, with titl","description":"List crypto events by date, soonest first by default, filtered by coins, categories (paid plans) or a keyword, with title, date, coins and categories. Fields and date windows depend on the plan of the key (the free plan shows the next 7 days with a 24 hour delay). Use for \"What crypto events are coming up for Ethereum and Bitcoin\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"coins":{"anyOf":[{"maxLength":300,"type":"string"},{"type":"null"}],"default":null,"description":"Comma-separated coin slugs, for example bitcoin,ethereum (see list_coins).","title":"Coins"},"categories":{"anyOf":[{"maxLength":300,"type":"string"},{"type":"null"}],"default":null,"description":"Comma-separated category ids (Standard plan and above; see list_categories).","title":"Categories"},"keyword":{"anyOf":[{"maxLength":100,"type":"string"},{"type":"null"}],"default":null,"description":"Case-insensitive text to find in the title or description.","title":"Keyword"},"from_date":{"anyOf":[{"maxLength":40,"type":"string"},{"type":"null"}],"default":null,"description":"Start of the date range (ISO 8601 date or time); defaults to today.","title":"From Date"},"to_date":{"anyOf":[{"maxLength":40,"type":"string"},{"type":"null"}],"default":null,"description":"End of the date range (ISO 8601 date or time); defaults to the end of the plan window.","title":"To Date"},"sort_by":{"anyOf":[{"enum":["date_asc","date_desc","created_desc","created_desc_and_updated_desc"],"type":"string"},{"type":"null"}],"default":null,"description":"Order: date_asc (default), date_desc, created_desc or created_desc_and_updated_desc.","title":"Sort By"},"limit":{"anyOf":[{"maximum":100,"minimum":1,"type":"integer"},{"type":"null"}],"default":20,"description":"Events per page, 1 to 100.","title":"Limit"},"cursor":{"anyOf":[{"maxLength":500,"type":"string"},{"type":"null"}],"default":null,"description":"Pagination cursor: the meta.cursor value of the previous answer (absent on the last page).","title":"Cursor"}},"title":"list_eventsArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/get_event":{"post":{"operationId":"get_event","summary":"Get one event by id with its dates, coins, categories and description. Fields and date windows depend on the plan of the","description":"Get one event by id with its dates, coins, categories and description. Fields and date windows depend on the plan of the key (the free plan shows the next 7 days with a 24 hour delay). Use for \"Show CoinMarketCal event 123456\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"id":{"description":"Event id as returned by list_events.","maxLength":40,"title":"Id","type":"string"}},"required":["id"],"title":"get_eventArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/list_event_cancellations":{"post":{"operationId":"list_event_cancellations","summary":"List events that were cancelled or removed since a date, with the cancellation time. Use for \"Which crypto events were c","description":"List events that were cancelled or removed since a date, with the cancellation time. Use for \"Which crypto events were cancelled in the last month\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"since":{"anyOf":[{"maxLength":40,"type":"string"},{"type":"null"}],"default":null,"description":"Only cancellations after this date (RFC 3339 or YYYY-MM-DD); defaults to 90 days ago.","title":"Since"},"limit":{"anyOf":[{"maximum":100,"minimum":1,"type":"integer"},{"type":"null"}],"default":20,"description":"Items per page, 1 to 100.","title":"Limit"},"cursor":{"anyOf":[{"maxLength":500,"type":"string"},{"type":"null"}],"default":null,"description":"Pagination cursor: the meta.cursor value of the previous answer (absent on the last page).","title":"Cursor"}},"title":"list_event_cancellationsArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/list_categories":{"post":{"operationId":"list_categories","summary":"List the event categories with their ids and the number of upcoming events in each (Standard plan and above). Use for \"W","description":"List the event categories with their ids and the number of upcoming events in each (Standard plan and above). Use for \"Which event categories does CoinMarketCal have\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{},"title":"list_categoriesArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/list_coins":{"post":{"operationId":"list_coins","summary":"List the coins CoinMarketCal knows, by rank, with slug, symbol, name and number of upcoming events; filter by name or sy","description":"List the coins CoinMarketCal knows, by rank, with slug, symbol, name and number of upcoming events; filter by name or symbol text or by editorial coverage. Use for \"Does CoinMarketCal track Solana events\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"q":{"anyOf":[{"maxLength":60,"type":"string"},{"type":"null"}],"default":null,"description":"Case-insensitive text to find in the coin name or symbol.","title":"Q"},"tracked":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":null,"description":"True for coins with editorial coverage only, false for the others; omit for all.","title":"Tracked"},"limit":{"anyOf":[{"maximum":200,"minimum":1,"type":"integer"},{"type":"null"}],"default":50,"description":"Coins per page, 1 to 200.","title":"Limit"},"cursor":{"anyOf":[{"maxLength":500,"type":"string"},{"type":"null"}],"default":null,"description":"Pagination cursor: the meta.cursor value of the previous answer (absent on the last page).","title":"Cursor"}},"title":"list_coinsArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/get_coin":{"post":{"operationId":"get_coin","summary":"Get one coin by slug with its rank, coverage flag and number of upcoming events. Use for \"How many upcoming events does ","description":"Get one coin by slug with its rank, coverage flag and number of upcoming events. Use for \"How many upcoming events does bitcoin have on CoinMarketCal\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"slug":{"description":"Lowercase coin slug such as bitcoin or ethereum.","maxLength":80,"title":"Slug","type":"string"}},"required":["slug"],"title":"get_coinArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/get_usage":{"post":{"operationId":"get_usage","summary":"Show the plan tier, the request count of the current month and the remaining monthly quota of the key. Use for \"How many","description":"Show the plan tier, the request count of the current month and the remaining monthly quota of the key. Use for \"How many CoinMarketCal API requests do I have left this month\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{},"title":"get_usageArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}}}}