{"openapi":"3.1.0","info":{"title":"Currents API (BYOK) API","version":"0.1.0","description":"Currents API (BYOK) lets an AI assistant read your own Currents API data through the Currents API API with a key you supply (Currents API key). Read-only: 6 tools (get_latest_news, search_news, list_languages, list_regions, list_categories, check_api_key). The BYOK key travels with each request, is used for that one call only and is never stored, logged or cached; it is only ever sent to...\n\nEvery operation is read-only or compute-only. The same tools are available over MCP (streamable HTTP) at https://byok-currents.connectorbay.com/mcp.","contact":{"name":"Unify Dynamics LLC","email":"agent@connectorbay.com","url":"https://connectorbay.com/byok-currents/docs"},"termsOfService":"https://connectorbay.com/byok-currents/terms"},"servers":[{"url":"https://byok-currents.connectorbay.com"}],"externalDocs":{"url":"https://connectorbay.com/byok-currents/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/get_latest_news":{"post":{"operationId":"get_latest_news","summary":"Get the newest indexed news articles, filtered by language, country, category, source domain or author. The free plan al","description":"Get the newest indexed news articles, filtered by language, country, category, source domain or author. The free plan allows 250 requests a day. Use for \"What is the latest news in the technology category\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"language":{"anyOf":[{"maxLength":5,"type":"string"},{"type":"null"}],"default":"en","description":"Two-letter language code of the articles (default en); see list_languages for the valid codes.","title":"Language"},"country":{"anyOf":[{"maxLength":5,"type":"string"},{"type":"null"}],"default":null,"description":"Two-letter country code to filter by; see list_regions for the valid codes.","title":"Country"},"category":{"anyOf":[{"enum":["general","society","science_technology","politics_government","economy_business_finance","arts_culture_entertainment","lifestyle_leisure","human_interest","sport","crime_law_justice","education","environment","labour","health","automotive","real_estate"],"type":"string"},{"type":"null"}],"default":null,"description":"Category to filter by (the current taxonomy); see list_categories.","title":"Category"},"type":{"anyOf":[{"maximum":3,"minimum":1,"type":"integer"},{"type":"null"}],"default":null,"description":"Kind of item: 1 news, 2 articles, 3 discussion.","title":"Type"},"domain":{"anyOf":[{"maxLength":100,"type":"string"},{"type":"null"}],"default":null,"description":"Only sources from this domain, for example 'reuters.com'.","title":"Domain"},"domain_not":{"anyOf":[{"maxLength":100,"type":"string"},{"type":"null"}],"default":null,"description":"Leave out sources from this domain.","title":"Domain Not"},"author":{"anyOf":[{"maxLength":100,"type":"string"},{"type":"null"}],"default":null,"description":"Exact author name (case-insensitive).","title":"Author"},"page_number":{"anyOf":[{"maximum":180,"minimum":1,"type":"integer"},{"type":"null"}],"default":1,"description":"Page number, 1 to 180.","title":"Page Number"},"page_size":{"anyOf":[{"maximum":100,"minimum":1,"type":"integer"},{"type":"null"}],"default":20,"description":"Articles per page, 1 to 100 (the plan may cap this lower).","title":"Page Size"}},"title":"get_latest_newsArguments","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/search_news":{"post":{"operationId":"search_news","summary":"Search the news archive by keywords or a boolean query (AND, OR, NOT, quotes, parentheses) with date range, language, co","description":"Search the news archive by keywords or a boolean query (AND, OR, NOT, quotes, parentheses) with date range, language, country, category and domain filters. The free plan limits the date span to 7 days. Use next_cursor to page deeper. Use for \"What news mentions Redwood Materials in the US this week\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"keywords":{"anyOf":[{"maxLength":200,"type":"string"},{"type":"null"}],"default":null,"description":"Plain search terms such as 'technology'. Takes priority over query when both are given.","title":"Keywords"},"query":{"anyOf":[{"maxLength":300,"type":"string"},{"type":"null"}],"default":null,"description":"Boolean query such as '(\"AI\" OR \"Machine Learning\") AND NOT \"Ethics\"'.","title":"Query"},"language":{"anyOf":[{"maxLength":5,"type":"string"},{"type":"null"}],"default":"en","description":"Two-letter language code of the articles (default en); see list_languages for the valid codes.","title":"Language"},"country":{"anyOf":[{"maxLength":5,"type":"string"},{"type":"null"}],"default":null,"description":"Two-letter country code to filter by; see list_regions for the valid codes.","title":"Country"},"category":{"anyOf":[{"enum":["general","society","science_technology","politics_government","economy_business_finance","arts_culture_entertainment","lifestyle_leisure","human_interest","sport","crime_law_justice","education","environment","labour","health","automotive","real_estate"],"type":"string"},{"type":"null"}],"default":null,"description":"Category to filter by (the current taxonomy); see list_categories.","title":"Category"},"type":{"anyOf":[{"maximum":3,"minimum":1,"type":"integer"},{"type":"null"}],"default":null,"description":"Kind of item: 1 news, 2 articles, 3 discussion.","title":"Type"},"domain":{"anyOf":[{"maxLength":100,"type":"string"},{"type":"null"}],"default":null,"description":"Only sources from this domain, for example 'reuters.com'.","title":"Domain"},"domain_not":{"anyOf":[{"maxLength":100,"type":"string"},{"type":"null"}],"default":null,"description":"Leave out sources from this domain.","title":"Domain Not"},"author":{"anyOf":[{"maxLength":100,"type":"string"},{"type":"null"}],"default":null,"description":"Exact author name (case-insensitive).","title":"Author"},"start_date":{"anyOf":[{"maxLength":30,"type":"string"},{"type":"null"}],"default":null,"description":"Only articles after this time, strict RFC 3339 such as '2026-10-01T00:00:00Z' (a bare date is rejected).","title":"Start Date"},"end_date":{"anyOf":[{"maxLength":30,"type":"string"},{"type":"null"}],"default":null,"description":"Only articles before this time, strict RFC 3339 such as '2026-10-08T00:00:00Z'.","title":"End Date"},"page_number":{"anyOf":[{"maximum":180,"minimum":1,"type":"integer"},{"type":"null"}],"default":1,"description":"Page number, 1 to 180.","title":"Page Number"},"page_size":{"anyOf":[{"maximum":100,"minimum":1,"type":"integer"},{"type":"null"}],"default":20,"description":"Articles per page, 1 to 100 (the plan may cap this lower).","title":"Page Size"},"cursor":{"anyOf":[{"maxLength":400,"type":"string"},{"type":"null"}],"default":null,"description":"The next_cursor value of the previous answer, to continue without offsets.","title":"Cursor"}},"title":"search_newsArguments","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_languages":{"post":{"operationId":"list_languages","summary":"List the language codes that can be used in the language filter. Use for \"Which languages does Currents API support\".","description":"List the language codes that can be used in the language filter. Use for \"Which languages does Currents API support\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{},"title":"list_languagesArguments","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_regions":{"post":{"operationId":"list_regions","summary":"List the country codes that can be used in the country filter. Use for \"Which countries can I filter Currents API news b","description":"List the country codes that can be used in the country filter. Use for \"Which countries can I filter Currents API news by\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{},"title":"list_regionsArguments","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 news categories that can be used in the category filter of the v2 endpoints. Use for \"Which categories does Cur","description":"List the news categories that can be used in the category filter of the v2 endpoints. Use for \"Which categories does Currents API use\".","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/check_api_key":{"post":{"operationId":"check_api_key","summary":"Check whether the key is accepted by Currents API. Use for \"Is my Currents API key valid\".","description":"Check whether the key is accepted by Currents API. Use for \"Is my Currents API key valid\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{},"title":"check_api_keyArguments","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}}}}