GptOracle | The -A r x i v- Papers Researcher

GptOracle | The -A r x i v- Papers Researcher · GPT アクション

arXiv API

Provides programmatic access to read and query hundreds of thousands of e-prints in PDF and other formats hosted at arXiv.org.

  • GET /queryQuery articles from arXiv
元の API スキーマ
{
  "openapi": "3.0.0",
  "info": {
    "title": "arXiv API",
    "description": "Provides programmatic access to read and query hundreds of thousands of e-prints in PDF and other formats hosted at arXiv.org.",
    "version": "1.0.0"
  },
  "servers": [
    {
      "url": "https://export.arxiv.org/api",
      "description": "Main API server"
    }
  ],
  "paths": {
    "/query": {
      "get": {
        "operationId": "queryArticles",
        "summary": "Query articles from arXiv",
        "parameters": [
          {
            "name": "search_query",
            "in": "query",
            "description": "Query string to search for articles. Can include qualifiers such as author, title, and abstract.",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "id_list",
            "in": "query",
            "description": "Comma-delimited list of arXiv IDs to retrieve.",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "start",
            "in": "query",
            "description": "Zero-based index of the first result to return.",
            "required": false,
            "schema": {
              "type": "integer",
              "default": 0
            }
          },
          {
            "name": "max_results",
            "in": "query",
            "description": "Number of results to return. Maximum is 30000 in slices of at most 2000 at a time.",
            "required": false,
            "schema": {
              "type": "integer",
              "default": 10
            }
          },
          {
            "name": "sortBy",
            "in": "query",
            "description": "Sort by relevance, lastUpdatedDate, or submittedDate.",
            "required": false,
            "schema": {
              "type": "string",
              "enum": [
                "relevance",
                "lastUpdatedDate",
                "submittedDate"
              ]
            }
          },
          {
            "name": "sortOrder",
            "in": "query",
            "description": "Sort order, either ascending or descending.",
            "required": false,
            "schema": {
              "type": "string",
              "enum": [
                "ascending",
                "descending"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response containing articles that match the query.",
            "content": {
              "application/atom+xml": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "400": {
            "description": "Bad request, such as a request for too many results."
          },
          "500": {
            "description": "Server error."
          }
        }
      }
    }
  }
}