{
  "openapi": "3.0.1",
  "info": {
    "title": "Crossref Scraper: DOI Lookup, Paper Metadata, Citations",
    "description": "Search 180M+ Crossref records or look up DOIs in bulk through the official Crossref REST API. Get titles, authors, ORCIDs, journals, abstracts, cited-by counts, funders, licenses and retraction flags. No login. Failed or empty inputs are free.",
    "version": "1.0",
    "x-build-id": "gDHSdRsr2jR62dKna"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/joesimo~crossref-works/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-joesimo-crossref-works",
        "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/joesimo~crossref-works/runs": {
      "post": {
        "operationId": "runs-sync-joesimo-crossref-works",
        "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/joesimo~crossref-works/run-sync": {
      "post": {
        "operationId": "run-sync-joesimo-crossref-works",
        "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": {
          "searchTerms": {
            "title": "Search terms",
            "type": "array",
            "description": "Crossref searches, one per line. Words are matched against titles, authors, journals and other metadata. Leave this, DOIs and filters empty for a demo of 20 journal articles on large language models.",
            "items": {
              "type": "string"
            }
          },
          "searchField": {
            "title": "Search in",
            "enum": [
              "all",
              "bibliographic",
              "author",
              "journal",
              "affiliation",
              "funder"
            ],
            "type": "string",
            "description": "Which metadata the search terms match. All fields is Crossref's default query; Bibliographic matches titles, authors, journal, year and pages (best for finding a known paper from a citation string).",
            "default": "all"
          },
          "dois": {
            "title": "DOIs",
            "type": "array",
            "description": "Look up specific works by DOI: 10.1038/nature14539, doi:10.1038/nature14539 or https://doi.org/10.1038/nature14539. 40 DOIs per request. DOIs not registered with Crossref (for example DataCite) come back as free not_found rows.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "types": {
            "title": "Work types",
            "type": "array",
            "description": "Only keep these Crossref work types, matched with OR. Empty means all types.",
            "items": {
              "type": "string",
              "enum": [
                "journal-article",
                "book-chapter",
                "proceedings-article",
                "posted-content",
                "book",
                "dataset",
                "report",
                "dissertation",
                "monograph",
                "reference-entry",
                "edited-book",
                "peer-review",
                "standard",
                "component",
                "other"
              ]
            },
            "default": []
          },
          "dateFrom": {
            "title": "Published on or after",
            "type": "string",
            "description": "YYYY, YYYY-MM or YYYY-MM-DD."
          },
          "dateTo": {
            "title": "Published on or before",
            "type": "string",
            "description": "YYYY, YYYY-MM or YYYY-MM-DD."
          },
          "issns": {
            "title": "Journal ISSNs",
            "type": "array",
            "description": "Only works from these journals, for example 0028-4793 (NEJM). With no search terms this lists every work in the journals.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "hasAbstract": {
            "title": "Has abstract",
            "type": "boolean",
            "description": "Only works whose publisher deposited an abstract.",
            "default": false
          },
          "hasOrcid": {
            "title": "Has ORCID",
            "type": "boolean",
            "description": "Only works where at least one author has an ORCID iD.",
            "default": false
          },
          "hasFullText": {
            "title": "Has full text link",
            "type": "boolean",
            "description": "Only works with at least one full text link (often for text and data mining).",
            "default": false
          },
          "hasFunder": {
            "title": "Has funder",
            "type": "boolean",
            "description": "Only works with funder metadata.",
            "default": false
          },
          "retractionsOnly": {
            "title": "Retraction notices only",
            "type": "boolean",
            "description": "Only retraction notices (Crossref and Retraction Watch data). The retracted article DOI is in updateTo.",
            "default": false
          },
          "sort": {
            "title": "Sort by",
            "enum": [
              "relevance",
              "published_newest",
              "published_oldest",
              "most_cited",
              "recently_added",
              "recently_updated"
            ],
            "type": "string",
            "description": "Relevance is Crossref's best match (needs search terms). Most cited sorts by Crossref cited-by count.",
            "default": "relevance"
          },
          "maxResultsPerQuery": {
            "title": "Max works per search",
            "minimum": 1,
            "maximum": 100000,
            "type": "integer",
            "description": "Stop each search after this many works. Crossref cursors page through any size of result set.",
            "default": 100
          },
          "maxItems": {
            "title": "Max works in total",
            "minimum": 0,
            "maximum": 1000000,
            "type": "integer",
            "description": "Hard cap on paid works for the whole run. 0 means no cap (the run still stops at your maximum cost per run).",
            "default": 0
          },
          "includeAuthorDetails": {
            "title": "Include author details",
            "type": "boolean",
            "description": "Adds authorDetails: given and family name, ORCID, sequence and affiliations per author. Turn off for smaller rows.",
            "default": true
          },
          "includeReferences": {
            "title": "Include reference DOIs",
            "type": "boolean",
            "description": "Adds referenceDois: the DOIs this work cites (when the publisher made references open). Rows get larger and pages smaller. No extra charge.",
            "default": false
          },
          "timeoutSecs": {
            "title": "Request timeout (seconds)",
            "minimum": 10,
            "maximum": 180,
            "type": "integer",
            "description": "Timeout for one Crossref request.",
            "default": 60
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}