{
  "openapi": "3.0.1",
  "info": {
    "title": "Crossref Scraper — DOI Metadata, Funders & Retractions",
    "description": "Crossref scraper: search 180M+ DOIs by keyword, look up DOI lists, match reference strings to DOIs or list works by journal ISSN, funder, ROR, ORCID or publisher prefix. Authors, affiliations, journal, dates, citation counts, funders and awards, licences, retractions. From US$1.40 per 1,000 works.",
    "version": "0.1",
    "x-build-id": "viaNXv0EumkhK5LuK"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/fabrikit~crossref-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-fabrikit-crossref-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/acts/fabrikit~crossref-scraper/runs": {
      "post": {
        "operationId": "runs-sync-fabrikit-crossref-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor and returns information about the initiated run in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/runsResponseSchema"
                }
              }
            }
          }
        }
      }
    },
    "/acts/fabrikit~crossref-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-fabrikit-crossref-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "properties": {
          "searchQueries": {
            "title": "Keyword searches",
            "type": "array",
            "description": "Each line runs one Crossref search over titles, authors, journal names, abstracts and other metadata, ranked by relevance. Crossref ranks works that contain more of your words higher, so put the most specific terms first. The rank of each work is saved as `position`.",
            "items": {
              "type": "string"
            }
          },
          "dois": {
            "title": "DOIs to look up",
            "type": "array",
            "description": "Fetch these exact works. Paste DOIs as you have them: 10.1126/science.1225829, https://doi.org/10.1126/science.1225829 or doi:10.1126/science.1225829. Looked up first, 40 per request, and returned in the order given. DOIs Crossref does not know (for example DataCite dataset DOIs) are listed in the SUMMARY record.",
            "items": {
              "type": "string"
            }
          },
          "citations": {
            "title": "Reference strings to match to DOIs",
            "type": "array",
            "description": "Free-text references as they appear in a bibliography, one per line, e.g. \"Harris CR et al. Array programming with NumPy. Nature 585, 357-362 (2020)\". Each one is matched with Crossref's bibliographic search; the best match comes back with its `relevanceScore` and the original string in `matchedCitation`. Filters below do not apply to this mode.",
            "items": {
              "type": "string"
            }
          },
          "matchesPerCitation": {
            "title": "Candidates per reference string",
            "minimum": 1,
            "maximum": 20,
            "type": "integer",
            "description": "How many candidate works to return for each reference string (1 = best match only). Useful to review doubtful matches by score.",
            "default": 1
          },
          "maxItems": {
            "title": "Maximum works",
            "minimum": 1,
            "maximum": 100000,
            "type": "integer",
            "description": "Total number of works to save across all inputs. Exact: the run stops right there, and a DOI found by two searches is saved and charged only once.",
            "default": 100
          },
          "maxResultsPerQuery": {
            "title": "Maximum works per search",
            "minimum": 1,
            "maximum": 100000,
            "type": "integer",
            "description": "Optional cap for each keyword search, so that the first search does not use the whole `maxItems` budget. Empty = no per-search cap."
          },
          "sort": {
            "title": "Order",
            "enum": [
              "relevance",
              "published_desc",
              "published_asc",
              "cited_desc",
              "created_desc",
              "updated_desc"
            ],
            "type": "string",
            "description": "Order of search and filter results. Publication-date orders are served by Crossref with offset paging, which stops at 10,000 works per search; the other orders have no such limit.",
            "default": "relevance"
          },
          "fromDate": {
            "title": "Published on or after",
            "type": "string",
            "description": "Year (2021), month (2021-03) or day (2021-03-15). Crossref compares it with the earliest print or online publication date."
          },
          "untilDate": {
            "title": "Published on or before",
            "type": "string",
            "description": "Year (2025), month (2025-06) or day (2025-06-30)."
          },
          "types": {
            "title": "Work types",
            "type": "array",
            "description": "Keep only these Crossref record types. Empty = every type.",
            "items": {
              "type": "string",
              "enum": [
                "journal-article",
                "book-chapter",
                "proceedings-article",
                "posted-content",
                "book",
                "monograph",
                "edited-book",
                "reference-entry",
                "dataset",
                "component",
                "report",
                "dissertation",
                "peer-review",
                "standard",
                "grant",
                "journal-issue",
                "other"
              ],
              "enumTitles": [
                "Journal article",
                "Book chapter",
                "Conference paper (proceedings article)",
                "Preprint / posted content",
                "Book",
                "Monograph",
                "Edited book",
                "Reference entry",
                "Dataset",
                "Component (figure, supplement...)",
                "Report",
                "Dissertation",
                "Peer review",
                "Standard",
                "Grant",
                "Journal issue",
                "Other"
              ]
            }
          },
          "excludeTypes": {
            "title": "Skip these types",
            "type": "array",
            "description": "Drop these record types from searches and listings (they are not saved and not charged). Crossref search results contain many supplementary-file records (component) and peer-review reports; skipping them keeps the papers. DOI lookups and reference matching are never filtered.",
            "items": {
              "type": "string",
              "enum": [
                "component",
                "peer-review",
                "journal-issue",
                "posted-content",
                "dataset",
                "reference-entry",
                "book-chapter",
                "proceedings-article",
                "grant",
                "other"
              ],
              "enumTitles": [
                "Component (supplementary files, figures)",
                "Peer review reports",
                "Journal issues",
                "Preprints / posted content",
                "Datasets",
                "Reference entries",
                "Book chapters",
                "Conference papers",
                "Grants",
                "Other"
              ]
            }
          },
          "authorQuery": {
            "title": "Author name contains",
            "type": "string",
            "description": "Crossref `query.author`: ranks works whose author list matches this name (e.g. Charpentier). Combines with the keyword searches, or runs alone when there is no keyword."
          },
          "affiliationQuery": {
            "title": "Affiliation contains",
            "type": "string",
            "description": "Crossref `query.affiliation`: free-text match on the affiliation strings publishers deposited (e.g. University of Chile). Many records have no affiliations, so use it to rank, not to list everything of an institution (use ROR ids for that)."
          },
          "journalQuery": {
            "title": "Journal / book title contains",
            "type": "string",
            "description": "Crossref `query.container-title`: match on the journal, book or proceedings name (e.g. Water Research). For an exact journal use its ISSN below."
          },
          "issns": {
            "title": "Journal ISSNs",
            "type": "array",
            "description": "Only works published in these journals (print or electronic ISSN, e.g. 0043-1354). Several values = any of them.",
            "items": {
              "type": "string"
            }
          },
          "funders": {
            "title": "Funder ids",
            "type": "array",
            "description": "Only works that acknowledge these funders, as Open Funder Registry ids: 10.13039/100000001 (U.S. National Science Foundation) or just 100000001. Find ids at https://search.crossref.org/funding",
            "items": {
              "type": "string"
            }
          },
          "rorIds": {
            "title": "Institutions (ROR ids)",
            "type": "array",
            "description": "Only works with at least one author affiliation tagged with these ROR ids, e.g. https://ror.org/047s2c258. Coverage depends on the publisher depositing ROR ids (mostly 2023 onwards).",
            "items": {
              "type": "string"
            }
          },
          "orcids": {
            "title": "Author ORCID iDs",
            "type": "array",
            "description": "Only works whose author list carries one of these ORCID iDs, e.g. 0000-0001-5858-5417 or the orcid.org URL.",
            "items": {
              "type": "string"
            }
          },
          "prefixes": {
            "title": "DOI prefixes (publishers)",
            "type": "array",
            "description": "Only DOIs that start with these prefixes, e.g. 10.3390 (MDPI) or 10.1371 (PLOS). A publisher can own several prefixes.",
            "items": {
              "type": "string"
            }
          },
          "onlyWithAbstract": {
            "title": "Only works with an abstract",
            "type": "boolean",
            "description": "Skip records whose publisher did not deposit an abstract.",
            "default": false
          },
          "onlyWithFullText": {
            "title": "Only works with full-text links",
            "type": "boolean",
            "description": "Skip records without at least one full-text link (for text mining or similarity checking).",
            "default": false
          },
          "onlyWithFunder": {
            "title": "Only works with funding data",
            "type": "boolean",
            "description": "Skip records without any funder acknowledgement.",
            "default": false
          },
          "onlyWithOrcid": {
            "title": "Only works with at least one ORCID",
            "type": "boolean",
            "description": "Skip records where no author has an ORCID iD.",
            "default": false
          },
          "minCitations": {
            "title": "Minimum citations",
            "minimum": 0,
            "type": "integer",
            "description": "Keep works cited at least this many times by other Crossref records (`citedByCount`). Crossref has no working filter for this, so the Actor checks it on each page (skipped works are not charged); combine it with the \"Most cited first\" order to stop as soon as counts drop below the minimum. Applies to searches and listings only."
          },
          "extraFilter": {
            "title": "Extra Crossref filter (advanced)",
            "type": "string",
            "description": "Raw Crossref filter appended to the ones above, for anything else the API supports. Examples: update-type:retraction (retraction notices), has-clinical-trial-number:true, license.url:http://creativecommons.org/licenses/by/4.0/, award.number:2334157. List: https://api.crossref.org/swagger-ui/index.html"
          },
          "includeAbstract": {
            "title": "Include abstracts",
            "type": "boolean",
            "description": "Return the abstract as plain text when the publisher deposited one (JATS markup removed). Turn off for smaller records.",
            "default": true
          },
          "includeReferences": {
            "title": "Include cited DOIs",
            "type": "boolean",
            "description": "Add `referencedDois`: the DOIs in the work's reference list, when the publisher deposited it. Makes each page several times larger.",
            "default": false
          },
          "maxAuthors": {
            "title": "Authors per work",
            "minimum": 1,
            "maximum": 5000,
            "type": "integer",
            "description": "Keep at most this many authors in `authors` (with affiliations). `authorNames` and `authorCount` always list everyone.",
            "default": 25
          },
          "includeAuthorOrcid": {
            "title": "Include author ORCID iDs",
            "type": "boolean",
            "description": "Add each author's ORCID iD (when the publisher deposited it) to the `authors` entries. Off by default: names and affiliations only.",
            "default": false
          },
          "mailto": {
            "title": "Your e-mail for Crossref's polite pool (optional)",
            "type": "string",
            "description": "Crossref asks API users to identify themselves with a contact e-mail and serves them from a faster \"polite\" pool (3 requests per second instead of 1). It is sent to api.crossref.org only, as the `mailto` parameter, and never written to the results."
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Not needed: the Crossref API accepts direct connections. If it keeps refusing the platform's IP, the Actor moves to Apify Proxy (datacenter) by itself.",
            "default": {
              "useApifyProxy": false
            }
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}