{
  "openapi": "3.0.1",
  "info": {
    "title": "Crossref DOI Metadata – Bulk DOI Lookup & Search",
    "description": "Resolve DOI lists in bulk or search Crossref (query + filters: publication date, type, ISSN, funder, full text, licence) via the official REST API. Flat rows: title, type, date, journal, publisher, ISSN, citation/reference counts, licence links, funders, authors (name/ORCID).",
    "version": "0.1",
    "x-build-id": "In5Tmf8gzH8HsdIhw"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/adamplaenitz~crossref-doi-metadata/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-adamplaenitz-crossref-doi-metadata",
        "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/adamplaenitz~crossref-doi-metadata/runs": {
      "post": {
        "operationId": "runs-sync-adamplaenitz-crossref-doi-metadata",
        "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/adamplaenitz~crossref-doi-metadata/run-sync": {
      "post": {
        "operationId": "run-sync-adamplaenitz-crossref-doi-metadata",
        "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": {
          "mode": {
            "title": "Mode",
            "enum": [
              "search",
              "dois"
            ],
            "type": "string",
            "description": "search = query Crossref with search terms and/or filters. dois = resolve a list of DOIs.",
            "default": "search"
          },
          "query": {
            "title": "Search query",
            "type": "string",
            "description": "Free-text search, e.g. \"machine learning climate\" or a full reference string to match. Leave empty to list works by filters only."
          },
          "queryField": {
            "title": "Search in",
            "enum": [
              "query",
              "bibliographic",
              "container-title",
              "publisher-name",
              "funder-name"
            ],
            "type": "string",
            "description": "query = all fields. bibliographic = title, authors, ISSN, year (best for matching references). container-title = journal or book title. publisher-name, funder-name = publisher or funder.",
            "default": "query"
          },
          "fromPubDate": {
            "title": "Published from",
            "type": "string",
            "description": "Earliest publication date: YYYY, YYYY-MM or YYYY-MM-DD (Crossref filter from-pub-date)."
          },
          "untilPubDate": {
            "title": "Published until",
            "type": "string",
            "description": "Latest publication date: YYYY, YYYY-MM or YYYY-MM-DD (until-pub-date)."
          },
          "types": {
            "title": "Work types",
            "type": "array",
            "description": "Only these Crossref types. Empty = all.",
            "items": {
              "type": "string",
              "enum": [
                "journal-article",
                "book-chapter",
                "proceedings-article",
                "posted-content",
                "book",
                "monograph",
                "edited-book",
                "reference-entry",
                "dataset",
                "dissertation",
                "report",
                "peer-review",
                "component",
                "standard",
                "other"
              ],
              "enumTitles": [
                "Journal article",
                "Book chapter",
                "Proceedings article",
                "Posted content (preprint)",
                "Book",
                "Monograph",
                "Edited book",
                "Reference entry",
                "Dataset",
                "Dissertation",
                "Report",
                "Peer review",
                "Component",
                "Standard",
                "Other"
              ]
            }
          },
          "issns": {
            "title": "Journal ISSNs",
            "type": "array",
            "description": "Only works from journals with these ISSNs (print or electronic), e.g. 0028-0836 or 1476-4687 (Nature).",
            "items": {
              "type": "string"
            }
          },
          "funders": {
            "title": "Funder IDs",
            "type": "array",
            "description": "Crossref Open Funder Registry IDs, e.g. 501100001659 (DFG) or 100000001 (NSF); 10.13039/… DOIs work too.",
            "items": {
              "type": "string"
            }
          },
          "prefixes": {
            "title": "DOI prefixes",
            "type": "array",
            "description": "Only DOIs with these prefixes (i.e. from these publishers' DOI ranges), e.g. 10.1038.",
            "items": {
              "type": "string"
            }
          },
          "hasFullText": {
            "title": "Has full-text link",
            "type": "boolean",
            "description": "Only works with at least one full-text link deposited (has-full-text).",
            "default": false
          },
          "hasLicense": {
            "title": "Has licence",
            "type": "boolean",
            "description": "Only works with at least one licence URL deposited (has-license).",
            "default": false
          },
          "hasFunder": {
            "title": "Has funder",
            "type": "boolean",
            "description": "Only works with funder information (has-funder).",
            "default": false
          },
          "hasOrcid": {
            "title": "Has ORCID",
            "type": "boolean",
            "description": "Only works where at least one contributor has an ORCID iD (has-orcid).",
            "default": false
          },
          "hasReferences": {
            "title": "Has references",
            "type": "boolean",
            "description": "Only works with deposited reference lists (has-references).",
            "default": false
          },
          "extraFilter": {
            "title": "Additional Crossref filter (advanced)",
            "type": "string",
            "description": "Raw Crossref filter syntax added to the filters above, e.g. from-index-date:2026-11-01,is-update:true. See the Crossref REST API documentation."
          },
          "sort": {
            "title": "Sort by",
            "enum": [
              "relevance",
              "newest",
              "oldest",
              "cited",
              "updated"
            ],
            "type": "string",
            "description": "relevance (only with a query), newest or oldest by publication date, most cited, or recently updated."
          },
          "dois": {
            "title": "DOIs",
            "type": "array",
            "description": "Mode \"Resolve DOIs\": DOIs as 10.1038/nature12373, doi:… or https://doi.org/… links. Results keep the input order; DOIs not registered with Crossref (e.g. DataCite DOIs) are returned as free rows with an error.",
            "items": {
              "type": "string"
            }
          },
          "maxItems": {
            "title": "Max records",
            "minimum": 1,
            "maximum": 1000000,
            "type": "integer",
            "description": "Upper limit of records per run in search mode (DOI lists are always resolved completely).",
            "default": 1000
          },
          "contactEmail": {
            "title": "Your contact e-mail (optional)",
            "type": "string",
            "description": "Crossref's \"polite pool\": if you enter your e-mail, it is sent to Crossref (only) as mailto, so Crossref can contact you about problems; requests then use the faster polite pool. Leave empty to use the public pool."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}