{"openapi":"3.1.0","info":{"title":"OpenAlex (BYOK) API","version":"0.1.0","description":"OpenAlex (BYOK) lets an AI assistant read your own OpenAlex data through the OpenAlex API with a key you supply (OpenAlex API key). Read-only: 9 tools (search_works, get_work, search_authors, get_author, search_sources, search_institutions, search_topics, search_funders, autocomplete). The BYOK key travels with each request, is used for that one call only and is never stored, logged or cached; it...\n\nEvery operation is read-only or compute-only. The same tools are available over MCP (streamable HTTP) at https://byok-openalex.connectorbay.com/mcp.","contact":{"name":"Unify Dynamics LLC","email":"agent@connectorbay.com","url":"https://connectorbay.com/byok-openalex/docs"},"termsOfService":"https://connectorbay.com/byok-openalex/terms"},"servers":[{"url":"https://byok-openalex.connectorbay.com"}],"externalDocs":{"url":"https://connectorbay.com/byok-openalex/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/search_works":{"post":{"operationId":"search_works","summary":"Search and filter scholarly works (papers, books, datasets) with citation counts, open access status, authors and topic.","description":"Search and filter scholarly works (papers, books, datasets) with citation counts, open access status, authors and topic. Filters look like publication_year:2023, type:article, open_access.is_oa:true, cited_by_count:>100, authorships.author.id:A5023888391. Search costs more of the daily budget than a plain list. List calls cost a small amount of the key's daily budget (free keys have about one US dollar per day); lookups of a single record are free. Use for \"Find highly cited open access papers on large language models from 2023\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"search":{"anyOf":[{"maxLength":300,"type":"string"},{"type":"null"}],"default":null,"description":"Search text, for example 'machine learning'.","title":"Search"},"filter":{"anyOf":[{"maxLength":500,"type":"string"},{"type":"null"}],"default":null,"description":"Comma-separated filters field:value that are ANDed, for example publication_year:2023,open_access.is_oa:true. Filters on any work field.","title":"Filter"},"sort":{"anyOf":[{"maxLength":60,"type":"string"},{"type":"null"}],"default":null,"description":"Sort field, prefix with - for descending, for example cited_by_count:desc.","title":"Sort"},"per_page":{"anyOf":[{"maximum":100,"minimum":1,"type":"integer"},{"type":"null"}],"default":10,"description":"Results per page (1 to 100).","title":"Per Page"},"page":{"anyOf":[{"maximum":1000,"minimum":1,"type":"integer"},{"type":"null"}],"default":1,"description":"Page number for basic paging (up to 10,000 results in total).","title":"Page"},"cursor":{"anyOf":[{"maxLength":200,"type":"string"},{"type":"null"}],"default":null,"description":"Deep paging: send * for the first page, then the next_cursor from meta; replaces page.","title":"Cursor"}},"title":"search_worksArguments","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_work":{"post":{"operationId":"get_work","summary":"Get one work by OpenAlex id (W...), DOI URL or pmid:<id>: title, year, type, citations, open access, authorships, primar","description":"Get one work by OpenAlex id (W...), DOI URL or pmid:<id>: title, year, type, citations, open access, authorships, primary location and topic. Free of budget cost. Use for \"Show the work with DOI 10.7717/peerj.4375\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"work_id":{"description":"OpenAlex id such as W2741809807, a DOI URL such as https://doi.org/10.7717/peerj.4375, or pmid:29456894.","maxLength":120,"title":"Work Id","type":"string"}},"required":["work_id"],"title":"get_workArguments","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_authors":{"post":{"operationId":"search_authors","summary":"Search and filter authors with works count, citation count, h-index and last known institutions. List calls cost a small","description":"Search and filter authors with works count, citation count, h-index and last known institutions. List calls cost a small amount of the key's daily budget (free keys have about one US dollar per day); lookups of a single record are free. Use for \"Find the author Geoffrey Hinton and his h-index\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"search":{"anyOf":[{"maxLength":300,"type":"string"},{"type":"null"}],"default":null,"description":"Search text, for example 'machine learning'.","title":"Search"},"filter":{"anyOf":[{"maxLength":500,"type":"string"},{"type":"null"}],"default":null,"description":"Comma-separated filters field:value that are ANDed, for example last_known_institutions.country_code:US,works_count:>100. Filters on any author field.","title":"Filter"},"sort":{"anyOf":[{"maxLength":60,"type":"string"},{"type":"null"}],"default":null,"description":"Sort field, prefix with - for descending, for example cited_by_count:desc.","title":"Sort"},"per_page":{"anyOf":[{"maximum":100,"minimum":1,"type":"integer"},{"type":"null"}],"default":10,"description":"Results per page (1 to 100).","title":"Per Page"},"page":{"anyOf":[{"maximum":1000,"minimum":1,"type":"integer"},{"type":"null"}],"default":1,"description":"Page number for basic paging (up to 10,000 results in total).","title":"Page"}},"title":"search_authorsArguments","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_author":{"post":{"operationId":"get_author","summary":"Get one author by OpenAlex id (A...) or ORCID URL: works and citation counts, summary statistics and last known institut","description":"Get one author by OpenAlex id (A...) or ORCID URL: works and citation counts, summary statistics and last known institutions. Free of budget cost. Use for \"Show the author with ORCID 0000-0001-6187-6610\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"author_id":{"description":"OpenAlex author id such as A5023888391, or an ORCID URL such as https://orcid.org/0000-0001-6187-6610.","maxLength":120,"title":"Author Id","type":"string"}},"required":["author_id"],"title":"get_authorArguments","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_sources":{"post":{"operationId":"search_sources","summary":"Search and filter sources (journals, repositories, conferences) with ISSN, publisher, open access flags, APC price and c","description":"Search and filter sources (journals, repositories, conferences) with ISSN, publisher, open access flags, APC price and counts. List calls cost a small amount of the key's daily budget (free keys have about one US dollar per day); lookups of a single record are free. Use for \"Which open access journals about ecology are in DOAJ\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"search":{"anyOf":[{"maxLength":300,"type":"string"},{"type":"null"}],"default":null,"description":"Search text, for example 'machine learning'.","title":"Search"},"filter":{"anyOf":[{"maxLength":500,"type":"string"},{"type":"null"}],"default":null,"description":"Comma-separated filters field:value that are ANDed, for example is_oa:true,is_in_doaj:true. Filters on any source field.","title":"Filter"},"sort":{"anyOf":[{"maxLength":60,"type":"string"},{"type":"null"}],"default":null,"description":"Sort field, prefix with - for descending, for example cited_by_count:desc.","title":"Sort"},"per_page":{"anyOf":[{"maximum":100,"minimum":1,"type":"integer"},{"type":"null"}],"default":10,"description":"Results per page (1 to 100).","title":"Per Page"},"page":{"anyOf":[{"maximum":1000,"minimum":1,"type":"integer"},{"type":"null"}],"default":1,"description":"Page number for basic paging (up to 10,000 results in total).","title":"Page"}},"title":"search_sourcesArguments","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_institutions":{"post":{"operationId":"search_institutions","summary":"Search and filter institutions (universities, labs, companies) with country, type, ROR id and counts. List calls cost a ","description":"Search and filter institutions (universities, labs, companies) with country, type, ROR id and counts. List calls cost a small amount of the key's daily budget (free keys have about one US dollar per day); lookups of a single record are free. Use for \"Find universities in India with the most published works\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"search":{"anyOf":[{"maxLength":300,"type":"string"},{"type":"null"}],"default":null,"description":"Search text, for example 'machine learning'.","title":"Search"},"filter":{"anyOf":[{"maxLength":500,"type":"string"},{"type":"null"}],"default":null,"description":"Comma-separated filters field:value that are ANDed, for example country_code:IN,type:education. Filters on any institution field.","title":"Filter"},"sort":{"anyOf":[{"maxLength":60,"type":"string"},{"type":"null"}],"default":null,"description":"Sort field, prefix with - for descending, for example works_count:desc.","title":"Sort"},"per_page":{"anyOf":[{"maximum":100,"minimum":1,"type":"integer"},{"type":"null"}],"default":10,"description":"Results per page (1 to 100).","title":"Per Page"},"page":{"anyOf":[{"maximum":1000,"minimum":1,"type":"integer"},{"type":"null"}],"default":1,"description":"Page number for basic paging (up to 10,000 results in total).","title":"Page"}},"title":"search_institutionsArguments","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_topics":{"post":{"operationId":"search_topics","summary":"Search research topics with their subfield, field, domain and counts of works. List calls cost a small amount of the key","description":"Search research topics with their subfield, field, domain and counts of works. List calls cost a small amount of the key's daily budget (free keys have about one US dollar per day); lookups of a single record are free. Use for \"What research topics relate to quantum computing\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"search":{"anyOf":[{"maxLength":300,"type":"string"},{"type":"null"}],"default":null,"description":"Search text, for example 'machine learning'.","title":"Search"},"filter":{"anyOf":[{"maxLength":500,"type":"string"},{"type":"null"}],"default":null,"description":"Comma-separated filters field:value that are ANDed, for example domain.id:3. Filters on any topic field.","title":"Filter"},"sort":{"anyOf":[{"maxLength":60,"type":"string"},{"type":"null"}],"default":null,"description":"Sort field, prefix with - for descending, for example works_count:desc.","title":"Sort"},"per_page":{"anyOf":[{"maximum":100,"minimum":1,"type":"integer"},{"type":"null"}],"default":10,"description":"Results per page (1 to 100).","title":"Per Page"},"page":{"anyOf":[{"maximum":1000,"minimum":1,"type":"integer"},{"type":"null"}],"default":1,"description":"Page number for basic paging (up to 10,000 results in total).","title":"Page"}},"title":"search_topicsArguments","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_funders":{"post":{"operationId":"search_funders","summary":"Search research funders with country, description and counts of grants and works. List calls cost a small amount of the ","description":"Search research funders with country, description and counts of grants and works. List calls cost a small amount of the key's daily budget (free keys have about one US dollar per day); lookups of a single record are free. Use for \"Which funders in Germany have funded the most works\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"search":{"anyOf":[{"maxLength":300,"type":"string"},{"type":"null"}],"default":null,"description":"Search text, for example 'machine learning'.","title":"Search"},"filter":{"anyOf":[{"maxLength":500,"type":"string"},{"type":"null"}],"default":null,"description":"Comma-separated filters field:value that are ANDed, for example country_code:DE. Filters on any funder field.","title":"Filter"},"sort":{"anyOf":[{"maxLength":60,"type":"string"},{"type":"null"}],"default":null,"description":"Sort field, prefix with - for descending, for example works_count:desc.","title":"Sort"},"per_page":{"anyOf":[{"maximum":100,"minimum":1,"type":"integer"},{"type":"null"}],"default":10,"description":"Results per page (1 to 100).","title":"Per Page"},"page":{"anyOf":[{"maximum":1000,"minimum":1,"type":"integer"},{"type":"null"}],"default":1,"description":"Page number for basic paging (up to 10,000 results in total).","title":"Page"}},"title":"search_fundersArguments","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/autocomplete":{"post":{"operationId":"autocomplete","summary":"Type-ahead lookup of OpenAlex entities by name: returns the best matching ids and display names for works, authors, sour","description":"Type-ahead lookup of OpenAlex entities by name: returns the best matching ids and display names for works, authors, sources, institutions, topics, keywords, publishers or funders. Use for \"What is the OpenAlex id of the University of Michigan\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"entity_type":{"description":"Kind of entity to look up.","enum":["works","authors","sources","institutions","topics","keywords","publishers","funders"],"title":"Entity Type","type":"string"},"q":{"description":"Text typed so far, for example 'univ michigan'.","maxLength":200,"title":"Q","type":"string"}},"required":["entity_type","q"],"title":"autocompleteArguments","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}}}}