{
  "openapi": "3.0.1",
  "info": {
    "title": "arXiv Scraper: Research Papers, Abstracts, Authors, Citations",
    "description": "Search arXiv research papers by keyword, title, author, abstract, category and date range, or look up arXiv IDs and links. Get titles, abstracts, authors, categories, dates, DOI, journal reference, PDF links, versions and optional OpenAlex citation counts.",
    "version": "1.0",
    "x-build-id": "1B9xGvMz4d9MUU6tI"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/zhtech~arxiv-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-zhtech-arxiv-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/zhtech~arxiv-scraper/runs": {
      "post": {
        "operationId": "runs-sync-zhtech-arxiv-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/zhtech~arxiv-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-zhtech-arxiv-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": {
          "searchQuery": {
            "title": "Search query",
            "type": "string",
            "description": "Words or a phrase to search for. Plain words are searched in all fields and all of them must match (large language models). Use \"double quotes\" for an exact phrase. Advanced: field prefixes ti: (title), au: (author), abs: (abstract), co: (comment), jr: (journal reference), cat: (category), rn: (report number), all:, with AND, OR, ANDNOT and parentheses, for example ti:transformer AND abs:\"protein folding\" ANDNOT cat:cs.CV. Leave empty to search only by category, author or ID.",
            "default": "large language models"
          },
          "categories": {
            "title": "Categories",
            "type": "array",
            "description": "Only papers listed in at least one of these arXiv categories, for example cs.AI, cs.LG, cs.CL, stat.ML, math.CO, hep-th, q-bio.NC. A whole archive such as physics or math also works. Combined with the search query using AND.",
            "items": {
              "type": "string"
            }
          },
          "authors": {
            "title": "Authors",
            "type": "array",
            "description": "Only papers by at least one of these authors. A full name in quotes is matched as written, a single word matches last names. Collaborations work too (ATLAS Collaboration). Combined with the search query using AND.",
            "items": {
              "type": "string"
            }
          },
          "dateFrom": {
            "title": "Submitted from",
            "type": "string",
            "description": "Only papers first submitted on or after this date. YYYY-MM-DD (UTC), YYYY-MM, YYYY, or a relative value such as 7 days, 2 weeks, 3 months. Leave empty for no lower limit."
          },
          "dateTo": {
            "title": "Submitted to",
            "type": "string",
            "description": "Only papers first submitted on or before this date. Same formats as above; a plain date includes the whole UTC day and a month the whole month. Leave empty for no upper limit."
          },
          "arxivIds": {
            "title": "arXiv IDs or links",
            "type": "array",
            "description": "Look up specific papers, one per line: 2301.00001, 1706.03762v5, arXiv:2106.09685, hep-th/9901001, https://arxiv.org/abs/2301.00001, a /pdf/ or /html/ link, or the arXiv DOI 10.48550/arXiv.2301.00001. Without a version you get the latest one. Unknown or malformed IDs return an error row that is not charged. Runs in addition to the search, if you also set one.",
            "items": {
              "type": "string"
            }
          },
          "sortBy": {
            "title": "Sort by",
            "enum": [
              "submittedDate",
              "relevance",
              "lastUpdatedDate"
            ],
            "type": "string",
            "description": "Submission date gives a feed of the newest papers. Relevance ranks by how well each paper matches the query. Last updated date catches new versions of older papers.",
            "default": "submittedDate"
          },
          "sortOrder": {
            "title": "Sort order",
            "enum": [
              "descending",
              "ascending"
            ],
            "type": "string",
            "description": "Descending puts the newest (or most relevant) papers first.",
            "default": "descending"
          },
          "maxResults": {
            "title": "Max results",
            "minimum": 1,
            "maximum": 30000,
            "type": "integer",
            "description": "Maximum papers to save from the search (papers looked up by ID are not counted). The arXiv API returns at most 30,000 papers per search; for more, split the search by date range. The arXiv API allows one request every 3 seconds, and each request returns up to 200 papers, so 1,000 papers take about 15 to 30 seconds.",
            "default": 25
          },
          "includeCitations": {
            "title": "Add citation counts (OpenAlex)",
            "type": "boolean",
            "description": "Adds citationCount, citationsByYear, venue, FWCI and the OpenAlex ID to each paper, looked up on OpenAlex (open CC0 data) in batches of 50 papers. Rows with a citation count are charged as paper-with-citations; papers OpenAlex does not know yet are charged as plain papers. New papers often have no citation data in their first weeks.",
            "default": false
          },
          "openAlexApiKey": {
            "title": "OpenAlex API key (optional)",
            "type": "string",
            "description": "Not needed for normal use. Without a key, OpenAlex gives a small free daily budget per IP address, shared with other users. A free key from openalex.org/settings/api gives you your own budget for very large citation runs."
          },
          "proxyConfiguration": {
            "title": "Proxy",
            "type": "object",
            "description": "Not needed: the arXiv API is public and the actor calls it at arXiv's own rate. Residential proxies are not supported and are replaced by Apify datacenter proxy.",
            "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}