{
  "openapi": "3.0.1",
  "info": {
    "title": "NASA Technical Reports Scraper",
    "description": "Search public NASA NTRS records and export titles, abstracts, authors, centers, keywords, funding IDs, report metadata, and PDF links.",
    "version": "1.0",
    "x-build-id": "pA7s4ZkwweW9vGF9V"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/muhammadafzal~nasa-technical-reports-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-muhammadafzal-nasa-technical-reports-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/muhammadafzal~nasa-technical-reports-scraper/runs": {
      "post": {
        "operationId": "runs-sync-muhammadafzal-nasa-technical-reports-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/muhammadafzal~nasa-technical-reports-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-muhammadafzal-nasa-technical-reports-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": {
          "query": {
            "title": "Search query",
            "maxLength": 500,
            "type": "string",
            "description": "Use this for full-text search across public NASA NTRS metadata, for example `Artemis thermal protection`. Defaults to `Artemis`; clear it only when using citation IDs or filters.",
            "default": "Artemis"
          },
          "citationIds": {
            "title": "NASA citation IDs",
            "maxItems": 1000,
            "type": "array",
            "description": "Use this to retrieve exact public NTRS records by numeric ID, for example `20230002992`. This is not a DOI or report number.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "title": {
            "title": "Title filter",
            "maxLength": 300,
            "type": "string",
            "description": "Use this to match words in a report title, for example `lunar surface`. Leave empty to search all titles."
          },
          "abstract": {
            "title": "Abstract filter",
            "maxLength": 500,
            "type": "string",
            "description": "Use this to match words in the abstract, for example `thermal protection system`. Leave empty to search all abstracts."
          },
          "authors": {
            "title": "Author filters",
            "maxItems": 50,
            "type": "array",
            "description": "Use this for author names as NASA stores them, for example `Mark Schoenenberger`. Multiple values narrow the NASA search.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "organizations": {
            "title": "Organization filters",
            "maxItems": 50,
            "type": "array",
            "description": "Use this for contributing organizations, for example `Langley Research Center`. This is not the NASA center-code filter.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "centers": {
            "title": "NASA center filters",
            "maxItems": 25,
            "type": "array",
            "description": "Use this for NASA center names or codes, for example `LaRC` or `Ames Research Center`. Leave empty for all centers.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "subjectCategories": {
            "title": "Subject category filters",
            "maxItems": 50,
            "type": "array",
            "description": "Use this for NASA STI subject categories, for example `Astrophysics`. Values should match NTRS category text.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "keywords": {
            "title": "Keyword filters",
            "maxItems": 50,
            "type": "array",
            "description": "Use this for indexed NTRS keywords, for example `climate change`. This is stricter than the full-text query.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "reportNumbers": {
            "title": "Report number filters",
            "maxItems": 50,
            "type": "array",
            "description": "Use this for formal report identifiers, for example `NASA-TM-20210000001`. This is not the numeric citation ID.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "fundingNumbers": {
            "title": "Funding number filters",
            "maxItems": 50,
            "type": "array",
            "description": "Use this for NASA project, contract, grant, or task identifiers, for example `NNA14AB82C`.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "documentType": {
            "title": "Document type details",
            "maxLength": 150,
            "type": "string",
            "description": "Use this to filter NASA's detailed STI type text, for example `Presentation` or `Technical Memorandum (TM)`. Leave empty for all document types."
          },
          "publicationDateFrom": {
            "title": "Published on or after",
            "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
            "type": "string",
            "description": "Use this lower publication-date bound in YYYY-MM-DD format, for example `2024-01-01`. This is not the repository acquisition date."
          },
          "publicationDateTo": {
            "title": "Published on or before",
            "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
            "type": "string",
            "description": "Use this upper publication-date bound in YYYY-MM-DD format, for example `2025-12-31`. It must not precede the lower bound."
          },
          "sortBy": {
            "title": "Sort order",
            "enum": [
              "relevance",
              "newest",
              "oldest",
              "modified"
            ],
            "type": "string",
            "description": "Use `relevance` for best matches, `newest` or `oldest` for publication date, or `modified` for recently updated NTRS records.",
            "default": "relevance"
          },
          "maxResults": {
            "title": "Maximum results",
            "minimum": 1,
            "maximum": 5000,
            "type": "integer",
            "description": "Use this to cap delivered dataset records and PPE result events. Default is 25; accepted range is 1–5,000.",
            "default": 25
          },
          "maxRequestRetries": {
            "title": "Maximum request retries",
            "minimum": 0,
            "maximum": 5,
            "type": "integer",
            "description": "Use this to retry NASA 429, 5xx, timeout, or network failures. Default is 2; accepted range is 0–5. Invalid searches are not retried.",
            "default": 2
          }
        }
      },
      "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
                  }
                }
              },
              "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}