{"openapi":"3.0.3","info":{"title":"Crossref API (ReefAPI)","version":"1.0.0","description":"Crossref API — search Crossref DOI metadata: title, authors, journal, publisher, year, DOI, type, citation count Call POST /crossref/v1/{action} with an x-api-key header; every response is the { ok, data, meta, error } envelope.","contact":{"name":"ReefAPI","url":"https://reefapi.com/crossref-api","email":"support@reefapi.com"},"license":{"name":"ReefAPI Terms","url":"https://reefapi.com/terms"},"termsOfService":"https://reefapi.com/terms"},"externalDocs":{"description":"Crossref API documentation","url":"https://reefapi.com/docs/crossref"},"servers":[{"url":"https://api.reefapi.com"}],"security":[{"ApiKeyAuth":[]}],"tags":[{"name":"crossref","description":"Crossref API — search Crossref DOI metadata: title, authors, journal, publisher, year, DOI, type, citation count"}],"paths":{"/crossref/v1/search":{"post":{"operationId":"crossref_search","summary":"Search Crossref's DOI metadata by free text, with an optional raw Crossref filter and `offset` paging (0-10000)","description":"Search Crossref's DOI metadata by free text, with an optional raw Crossref filter and `offset` paging (0-10000). Each record: title, authors, journal or venue, publisher, year, DOI, type and the Crossref citation count.","tags":["crossref"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"query":{"type":"string","example":"covid","description":"Free-text search query."},"per_page":{"type":"integer","minimum":1,"maximum":200,"default":25,"example":25,"description":"Results per page (1-200, default 25); clamped."},"filter":{"type":"string","example":"is_oa:true","description":"Advanced: a raw Crossref filter string, appended verbatim (e.g. 'from-pub-date:2024-01-01,type:journal-article')."},"offset":{"type":"integer","minimum":0,"maximum":10000,"default":0,"example":0,"description":"Crossref offset pagination (0-10000); clamped."}},"required":["query"]},"example":{"query":"crispr","per_page":10}}}},"responses":{"200":{"description":"Result envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Envelope"}}}},"401":{"description":"Missing or invalid x-api-key"},"429":{"description":"Rate limited or quota exhausted"}},"x-reefapi-credits":1}}},"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"x-api-key"}},"schemas":{"Envelope":{"type":"object","required":["ok"],"properties":{"ok":{"type":"boolean"},"data":{"description":"Action result (shape varies per action)"},"meta":{"type":"object","description":"api, endpoint, mode, latency_ms, record_count, completeness_pct"},"error":{"type":"object","nullable":true,"properties":{"code":{"type":"string"},"message":{"type":"string"},"retryable":{"type":"boolean"}}}}}}}}