{
  "openapi": "3.0.3",
  "info": {
    "title": "Seekapedia Company Data API",
    "version": "1",
    "description": "One API for a complete picture of a business: registries, sanctions, OSHA, EPA, recalls, SEC events, grants, lobbying, licenses and more. Send your key as Authorization: Bearer <key>. Policy: https://seekapedia.com/limits",
    "termsOfService": "https://seekapedia.com/terms"
  },
  "servers": [
    {
      "url": "https://registry-api.seekapedia.com"
    }
  ],
  "components": {
    "securitySchemes": {
      "bearer": {
        "type": "http",
        "scheme": "bearer"
      }
    }
  },
  "tags": [
    {
      "name": "Company"
    },
    {
      "name": "Risk"
    },
    {
      "name": "Government"
    },
    {
      "name": "Service"
    }
  ],
  "paths": {
    "/v1/company": {
      "get": {
        "operationId": "company",
        "summary": "Look up a company by state and registry number",
        "tags": [
          "Company"
        ],
        "security": [
          {
            "bearer": []
          }
        ],
        "parameters": [
          {
            "name": "state",
            "in": "query",
            "required": true,
            "description": "Two-letter state code of the registry.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "number",
            "in": "query",
            "required": true,
            "description": "The state’s registry number.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "include",
            "in": "query",
            "required": false,
            "description": "Comma-separated linked blocks: sanctions, recalls, lei, events, grants, lobbying, identifiers, financials, nonprofit, carrier, bank, osha, epa, licenses, awards, or all.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The answer, as JSON. Every record carries its source and the date it was read.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "400": {
            "description": "A parameter is missing or not valid."
          },
          "401": {
            "description": "Missing or invalid API key."
          },
          "404": {
            "description": "Nothing found for that lookup (not billed)."
          },
          "429": {
            "description": "Rate limited; wait for Retry-After seconds.",
            "headers": {
              "Retry-After": {
                "schema": {
                  "type": "integer"
                }
              }
            }
          }
        }
      }
    },
    "/v1/company/search": {
      "get": {
        "operationId": "search_companies",
        "summary": "Search companies by name across the covered states",
        "tags": [
          "Company"
        ],
        "security": [
          {
            "bearer": []
          }
        ],
        "parameters": [
          {
            "name": "name",
            "in": "query",
            "required": true,
            "description": "Company name (starts-with words).",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "state",
            "in": "query",
            "required": false,
            "description": "Limit to one state.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "description": "Maximum results to return.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The answer, as JSON. Every record carries its source and the date it was read.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "400": {
            "description": "A parameter is missing or not valid."
          },
          "401": {
            "description": "Missing or invalid API key."
          },
          "404": {
            "description": "Nothing found for that lookup (not billed)."
          },
          "429": {
            "description": "Rate limited; wait for Retry-After seconds.",
            "headers": {
              "Retry-After": {
                "schema": {
                  "type": "integer"
                }
              }
            }
          }
        }
      }
    },
    "/v1/business": {
      "get": {
        "operationId": "business",
        "summary": "A company by Seekapedia Business ID, with every linked source",
        "tags": [
          "Company"
        ],
        "security": [
          {
            "bearer": []
          }
        ],
        "parameters": [
          {
            "name": "id",
            "in": "query",
            "required": true,
            "description": "Business ID such as sk_NY_1199686.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "include",
            "in": "query",
            "required": false,
            "description": "Blocks to include (default all).",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The answer, as JSON. Every record carries its source and the date it was read.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "400": {
            "description": "A parameter is missing or not valid."
          },
          "401": {
            "description": "Missing or invalid API key."
          },
          "404": {
            "description": "Nothing found for that lookup (not billed)."
          },
          "429": {
            "description": "Rate limited; wait for Retry-After seconds.",
            "headers": {
              "Retry-After": {
                "schema": {
                  "type": "integer"
                }
              }
            }
          }
        }
      }
    },
    "/v1/new-businesses": {
      "get": {
        "operationId": "new_businesses",
        "summary": "Businesses newly formed in a window",
        "tags": [
          "Company"
        ],
        "security": [
          {
            "bearer": []
          }
        ],
        "parameters": [
          {
            "name": "state",
            "in": "query",
            "required": false,
            "description": "State code.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "since",
            "in": "query",
            "required": false,
            "description": "Start date, YYYY-MM-DD.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "until",
            "in": "query",
            "required": false,
            "description": "End date, YYYY-MM-DD.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "type",
            "in": "query",
            "required": false,
            "description": "Entity type word such as LLC or corporation.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "status",
            "in": "query",
            "required": false,
            "description": "active (default) or all.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "description": "Maximum results to return.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "description": "Cursor from the previous page.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The answer, as JSON. Every record carries its source and the date it was read.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "400": {
            "description": "A parameter is missing or not valid."
          },
          "401": {
            "description": "Missing or invalid API key."
          },
          "404": {
            "description": "Nothing found for that lookup (not billed)."
          },
          "429": {
            "description": "Rate limited; wait for Retry-After seconds.",
            "headers": {
              "Retry-After": {
                "schema": {
                  "type": "integer"
                }
              }
            }
          }
        }
      }
    },
    "/v1/identifiers": {
      "get": {
        "operationId": "identifiers",
        "summary": "SEC filer CIK, EIN, LEI and ticker tied together",
        "tags": [
          "Company"
        ],
        "security": [
          {
            "bearer": []
          }
        ],
        "parameters": [
          {
            "name": "name",
            "in": "query",
            "required": false,
            "description": "Filer name.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "cik",
            "in": "query",
            "required": false,
            "description": "SEC CIK.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "ein",
            "in": "query",
            "required": false,
            "description": "Employer identification number.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "lei",
            "in": "query",
            "required": false,
            "description": "Legal entity identifier.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "ticker",
            "in": "query",
            "required": false,
            "description": "Stock ticker.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "description": "Maximum results to return.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The answer, as JSON. Every record carries its source and the date it was read.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "400": {
            "description": "A parameter is missing or not valid."
          },
          "401": {
            "description": "Missing or invalid API key."
          },
          "404": {
            "description": "Nothing found for that lookup (not billed)."
          },
          "429": {
            "description": "Rate limited; wait for Retry-After seconds.",
            "headers": {
              "Retry-After": {
                "schema": {
                  "type": "integer"
                }
              }
            }
          }
        }
      }
    },
    "/v1/lei": {
      "get": {
        "operationId": "lei",
        "summary": "Legal entity identifiers (GLEIF)",
        "tags": [
          "Company"
        ],
        "security": [
          {
            "bearer": []
          }
        ],
        "parameters": [
          {
            "name": "lei",
            "in": "query",
            "required": false,
            "description": "A 20-character LEI.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "name",
            "in": "query",
            "required": false,
            "description": "Legal name.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "country",
            "in": "query",
            "required": false,
            "description": "Country code.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "region",
            "in": "query",
            "required": false,
            "description": "Region or state.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "description": "Maximum results to return.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The answer, as JSON. Every record carries its source and the date it was read.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "400": {
            "description": "A parameter is missing or not valid."
          },
          "401": {
            "description": "Missing or invalid API key."
          },
          "404": {
            "description": "Nothing found for that lookup (not billed)."
          },
          "429": {
            "description": "Rate limited; wait for Retry-After seconds.",
            "headers": {
              "Retry-After": {
                "schema": {
                  "type": "integer"
                }
              }
            }
          }
        }
      }
    },
    "/v1/industry": {
      "get": {
        "operationId": "industry",
        "summary": "Establishments, jobs and payroll by industry and place (Census CBP)",
        "tags": [
          "Company"
        ],
        "security": [
          {
            "bearer": []
          }
        ],
        "parameters": [
          {
            "name": "naics",
            "in": "query",
            "required": false,
            "description": "NAICS code, 2 to 6 digits.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "state",
            "in": "query",
            "required": false,
            "description": "State code.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "county",
            "in": "query",
            "required": false,
            "description": "5-digit county FIPS.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "zip",
            "in": "query",
            "required": false,
            "description": "5-digit ZIP.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "top",
            "in": "query",
            "required": false,
            "description": "Also list the largest industries (digits 2 to 6).",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The answer, as JSON. Every record carries its source and the date it was read.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "400": {
            "description": "A parameter is missing or not valid."
          },
          "401": {
            "description": "Missing or invalid API key."
          },
          "404": {
            "description": "Nothing found for that lookup (not billed)."
          },
          "429": {
            "description": "Rate limited; wait for Retry-After seconds.",
            "headers": {
              "Retry-After": {
                "schema": {
                  "type": "integer"
                }
              }
            }
          }
        }
      }
    },
    "/v1/state-licenses": {
      "get": {
        "operationId": "state_licenses",
        "summary": "Firm-level state business licenses (RI, DE, WA, CT)",
        "tags": [
          "Company"
        ],
        "security": [
          {
            "bearer": []
          }
        ],
        "parameters": [
          {
            "name": "state",
            "in": "query",
            "required": true,
            "description": "RI, DE, WA or CT.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "name",
            "in": "query",
            "required": false,
            "description": "Name prefix, 3+ characters.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "number",
            "in": "query",
            "required": false,
            "description": "License number.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "type",
            "in": "query",
            "required": false,
            "description": "License type.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "city",
            "in": "query",
            "required": false,
            "description": "City.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "zip",
            "in": "query",
            "required": false,
            "description": "ZIP.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "status",
            "in": "query",
            "required": false,
            "description": "Status such as ACTIVE.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "description": "Maximum results to return.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The answer, as JSON. Every record carries its source and the date it was read.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "400": {
            "description": "A parameter is missing or not valid."
          },
          "401": {
            "description": "Missing or invalid API key."
          },
          "404": {
            "description": "Nothing found for that lookup (not billed)."
          },
          "429": {
            "description": "Rate limited; wait for Retry-After seconds.",
            "headers": {
              "Retry-After": {
                "schema": {
                  "type": "integer"
                }
              }
            }
          }
        }
      }
    },
    "/v1/awards": {
      "get": {
        "operationId": "awards",
        "summary": "Federal contracts and grants received, by recipient (USAspending, FY2007 to FY2027)",
        "tags": [
          "Company"
        ],
        "security": [
          {
            "bearer": []
          }
        ],
        "parameters": [
          {
            "name": "name",
            "in": "query",
            "required": false,
            "description": "Recipient name, 3+ characters. A lead to check.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "uei",
            "in": "query",
            "required": false,
            "description": "Federal UEI, 12 characters. Exact.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "state",
            "in": "query",
            "required": false,
            "description": "Recipient state code.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "fiscal_year",
            "in": "query",
            "required": false,
            "description": "Fiscal year, 2007 to 2027.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "kind",
            "in": "query",
            "required": false,
            "description": "contracts, assistance or subawards.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "description": "Maximum results to return.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The answer, as JSON. Every record carries its source and the date it was read.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "400": {
            "description": "A parameter is missing or not valid."
          },
          "401": {
            "description": "Missing or invalid API key."
          },
          "404": {
            "description": "Nothing found for that lookup (not billed)."
          },
          "429": {
            "description": "Rate limited; wait for Retry-After seconds.",
            "headers": {
              "Retry-After": {
                "schema": {
                  "type": "integer"
                }
              }
            }
          }
        }
      }
    },
    "/v1/screen": {
      "get": {
        "operationId": "screen",
        "summary": "Screen a name against OFAC, UK and EU sanctions lists",
        "tags": [
          "Risk"
        ],
        "security": [
          {
            "bearer": []
          }
        ],
        "parameters": [
          {
            "name": "name",
            "in": "query",
            "required": true,
            "description": "Name to screen.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "min_score",
            "in": "query",
            "required": false,
            "description": "Minimum match score, 0 to 1.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "description": "Maximum results to return.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The answer, as JSON. Every record carries its source and the date it was read.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "400": {
            "description": "A parameter is missing or not valid."
          },
          "401": {
            "description": "Missing or invalid API key."
          },
          "404": {
            "description": "Nothing found for that lookup (not billed)."
          },
          "429": {
            "description": "Rate limited; wait for Retry-After seconds.",
            "headers": {
              "Retry-After": {
                "schema": {
                  "type": "integer"
                }
              }
            }
          }
        }
      }
    },
    "/v1/osha": {
      "get": {
        "operationId": "osha",
        "summary": "OSHA inspections and citations by establishment",
        "tags": [
          "Risk"
        ],
        "security": [
          {
            "bearer": []
          }
        ],
        "parameters": [
          {
            "name": "name",
            "in": "query",
            "required": false,
            "description": "Establishment name.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "state",
            "in": "query",
            "required": false,
            "description": "State code.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "inspection",
            "in": "query",
            "required": false,
            "description": "OSHA inspection number.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "view",
            "in": "query",
            "required": false,
            "description": "establishments (default) or inspections.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "since",
            "in": "query",
            "required": false,
            "description": "Inspections opened since this date.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "description": "Maximum results to return.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The answer, as JSON. Every record carries its source and the date it was read.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "400": {
            "description": "A parameter is missing or not valid."
          },
          "401": {
            "description": "Missing or invalid API key."
          },
          "404": {
            "description": "Nothing found for that lookup (not billed)."
          },
          "429": {
            "description": "Rate limited; wait for Retry-After seconds.",
            "headers": {
              "Retry-After": {
                "schema": {
                  "type": "integer"
                }
              }
            }
          }
        }
      }
    },
    "/v1/facilities": {
      "get": {
        "operationId": "facilities",
        "summary": "EPA regulated facilities and compliance",
        "tags": [
          "Risk"
        ],
        "security": [
          {
            "bearer": []
          }
        ],
        "parameters": [
          {
            "name": "name",
            "in": "query",
            "required": false,
            "description": "Facility name.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "state",
            "in": "query",
            "required": false,
            "description": "State code.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "city",
            "in": "query",
            "required": false,
            "description": "City.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "zip",
            "in": "query",
            "required": false,
            "description": "ZIP.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "id",
            "in": "query",
            "required": false,
            "description": "EPA registry id.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "near",
            "in": "query",
            "required": false,
            "description": "lat,lon to search near.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "radius",
            "in": "query",
            "required": false,
            "description": "Miles for near.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "description": "Maximum results to return.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The answer, as JSON. Every record carries its source and the date it was read.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "400": {
            "description": "A parameter is missing or not valid."
          },
          "401": {
            "description": "Missing or invalid API key."
          },
          "404": {
            "description": "Nothing found for that lookup (not billed)."
          },
          "429": {
            "description": "Rate limited; wait for Retry-After seconds.",
            "headers": {
              "Retry-After": {
                "schema": {
                  "type": "integer"
                }
              }
            }
          }
        }
      }
    },
    "/v1/recalls": {
      "get": {
        "operationId": "recalls",
        "summary": "FDA, CPSC and NHTSA recalls",
        "tags": [
          "Risk"
        ],
        "security": [
          {
            "bearer": []
          }
        ],
        "parameters": [
          {
            "name": "firm",
            "in": "query",
            "required": false,
            "description": "Recalling firm.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "product",
            "in": "query",
            "required": false,
            "description": "Product words.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "upc",
            "in": "query",
            "required": false,
            "description": "UPC.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "source",
            "in": "query",
            "required": false,
            "description": "FDA-FOOD, FDA-DRUG, FDA-DEVICE, CPSC or NHTSA.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "since",
            "in": "query",
            "required": false,
            "description": "Recalls since this date.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "description": "Maximum results to return.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The answer, as JSON. Every record carries its source and the date it was read.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "400": {
            "description": "A parameter is missing or not valid."
          },
          "401": {
            "description": "Missing or invalid API key."
          },
          "404": {
            "description": "Nothing found for that lookup (not billed)."
          },
          "429": {
            "description": "Rate limited; wait for Retry-After seconds.",
            "headers": {
              "Retry-After": {
                "schema": {
                  "type": "integer"
                }
              }
            }
          }
        }
      }
    },
    "/v1/events": {
      "get": {
        "operationId": "events",
        "summary": "SEC events: 8-K items, private raises, IPO filings",
        "tags": [
          "Risk"
        ],
        "security": [
          {
            "bearer": []
          }
        ],
        "parameters": [
          {
            "name": "name",
            "in": "query",
            "required": false,
            "description": "Company name.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "cik",
            "in": "query",
            "required": false,
            "description": "SEC CIK.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "form",
            "in": "query",
            "required": false,
            "description": "Form type such as 8-K or D.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "type",
            "in": "query",
            "required": false,
            "description": "Event type.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "since",
            "in": "query",
            "required": false,
            "description": "Filed since this date.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "description": "Maximum results to return.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The answer, as JSON. Every record carries its source and the date it was read.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "400": {
            "description": "A parameter is missing or not valid."
          },
          "401": {
            "description": "Missing or invalid API key."
          },
          "404": {
            "description": "Nothing found for that lookup (not billed)."
          },
          "429": {
            "description": "Rate limited; wait for Retry-After seconds.",
            "headers": {
              "Retry-After": {
                "schema": {
                  "type": "integer"
                }
              }
            }
          }
        }
      }
    },
    "/v1/signals": {
      "get": {
        "operationId": "signals",
        "summary": "One dated feed of SEC, OSHA and license events",
        "tags": [
          "Risk"
        ],
        "security": [
          {
            "bearer": []
          }
        ],
        "parameters": [
          {
            "name": "since",
            "in": "query",
            "required": false,
            "description": "Start date (default 7 days ago).",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "until",
            "in": "query",
            "required": false,
            "description": "End date.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "types",
            "in": "query",
            "required": false,
            "description": "sec_event, osha_inspection, license_effective (comma-separated).",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "state",
            "in": "query",
            "required": false,
            "description": "State code.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "name",
            "in": "query",
            "required": false,
            "description": "Company name prefix.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "description": "Maximum results to return.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The answer, as JSON. Every record carries its source and the date it was read.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "400": {
            "description": "A parameter is missing or not valid."
          },
          "401": {
            "description": "Missing or invalid API key."
          },
          "404": {
            "description": "Nothing found for that lookup (not billed)."
          },
          "429": {
            "description": "Rate limited; wait for Retry-After seconds.",
            "headers": {
              "Retry-After": {
                "schema": {
                  "type": "integer"
                }
              }
            }
          }
        }
      }
    },
    "/v1/financials": {
      "get": {
        "operationId": "financials",
        "summary": "Public-company annual financials from SEC XBRL",
        "tags": [
          "Company"
        ],
        "security": [
          {
            "bearer": []
          }
        ],
        "parameters": [
          {
            "name": "ticker",
            "in": "query",
            "required": false,
            "description": "Stock ticker.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "cik",
            "in": "query",
            "required": false,
            "description": "SEC CIK.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "name",
            "in": "query",
            "required": false,
            "description": "Company name.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "years",
            "in": "query",
            "required": false,
            "description": "Years of history.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The answer, as JSON. Every record carries its source and the date it was read.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "400": {
            "description": "A parameter is missing or not valid."
          },
          "401": {
            "description": "Missing or invalid API key."
          },
          "404": {
            "description": "Nothing found for that lookup (not billed)."
          },
          "429": {
            "description": "Rate limited; wait for Retry-After seconds.",
            "headers": {
              "Retry-After": {
                "schema": {
                  "type": "integer"
                }
              }
            }
          }
        }
      }
    },
    "/v1/nonprofits": {
      "get": {
        "operationId": "nonprofits",
        "summary": "IRS tax-exempt organizations",
        "tags": [
          "Company"
        ],
        "security": [
          {
            "bearer": []
          }
        ],
        "parameters": [
          {
            "name": "ein",
            "in": "query",
            "required": false,
            "description": "EIN.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "name",
            "in": "query",
            "required": false,
            "description": "Organization name.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "state",
            "in": "query",
            "required": false,
            "description": "State.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "city",
            "in": "query",
            "required": false,
            "description": "City.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "description": "Maximum results to return.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The answer, as JSON. Every record carries its source and the date it was read.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "400": {
            "description": "A parameter is missing or not valid."
          },
          "401": {
            "description": "Missing or invalid API key."
          },
          "404": {
            "description": "Nothing found for that lookup (not billed)."
          },
          "429": {
            "description": "Rate limited; wait for Retry-After seconds.",
            "headers": {
              "Retry-After": {
                "schema": {
                  "type": "integer"
                }
              }
            }
          }
        }
      }
    },
    "/v1/carriers": {
      "get": {
        "operationId": "carriers",
        "summary": "FMCSA motor carriers, brokers and shippers",
        "tags": [
          "Company"
        ],
        "security": [
          {
            "bearer": []
          }
        ],
        "parameters": [
          {
            "name": "dot",
            "in": "query",
            "required": false,
            "description": "USDOT number.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "mc",
            "in": "query",
            "required": false,
            "description": "MC number.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "name",
            "in": "query",
            "required": false,
            "description": "Name.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "state",
            "in": "query",
            "required": false,
            "description": "State.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "city",
            "in": "query",
            "required": false,
            "description": "City.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "description": "Maximum results to return.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The answer, as JSON. Every record carries its source and the date it was read.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "400": {
            "description": "A parameter is missing or not valid."
          },
          "401": {
            "description": "Missing or invalid API key."
          },
          "404": {
            "description": "Nothing found for that lookup (not billed)."
          },
          "429": {
            "description": "Rate limited; wait for Retry-After seconds.",
            "headers": {
              "Retry-After": {
                "schema": {
                  "type": "integer"
                }
              }
            }
          }
        }
      }
    },
    "/v1/providers": {
      "get": {
        "operationId": "providers",
        "summary": "CMS healthcare organizations (NPI)",
        "tags": [
          "Company"
        ],
        "security": [
          {
            "bearer": []
          }
        ],
        "parameters": [
          {
            "name": "npi",
            "in": "query",
            "required": false,
            "description": "NPI.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "name",
            "in": "query",
            "required": false,
            "description": "Name.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "state",
            "in": "query",
            "required": false,
            "description": "State.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "city",
            "in": "query",
            "required": false,
            "description": "City.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "taxonomy",
            "in": "query",
            "required": false,
            "description": "Taxonomy code.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "description": "Maximum results to return.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The answer, as JSON. Every record carries its source and the date it was read.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "400": {
            "description": "A parameter is missing or not valid."
          },
          "401": {
            "description": "Missing or invalid API key."
          },
          "404": {
            "description": "Nothing found for that lookup (not billed)."
          },
          "429": {
            "description": "Rate limited; wait for Retry-After seconds.",
            "headers": {
              "Retry-After": {
                "schema": {
                  "type": "integer"
                }
              }
            }
          }
        }
      }
    },
    "/v1/banks": {
      "get": {
        "operationId": "banks",
        "summary": "FDIC-insured banks",
        "tags": [
          "Company"
        ],
        "security": [
          {
            "bearer": []
          }
        ],
        "parameters": [
          {
            "name": "cert",
            "in": "query",
            "required": false,
            "description": "FDIC certificate number.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "name",
            "in": "query",
            "required": false,
            "description": "Bank name.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "state",
            "in": "query",
            "required": false,
            "description": "State.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "city",
            "in": "query",
            "required": false,
            "description": "City.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "description": "Maximum results to return.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The answer, as JSON. Every record carries its source and the date it was read.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "400": {
            "description": "A parameter is missing or not valid."
          },
          "401": {
            "description": "Missing or invalid API key."
          },
          "404": {
            "description": "Nothing found for that lookup (not billed)."
          },
          "429": {
            "description": "Rate limited; wait for Retry-After seconds.",
            "headers": {
              "Retry-After": {
                "schema": {
                  "type": "integer"
                }
              }
            }
          }
        }
      }
    },
    "/v1/grants": {
      "get": {
        "operationId": "grants",
        "summary": "NIH and NSF research awards by recipient",
        "tags": [
          "Government"
        ],
        "security": [
          {
            "bearer": []
          }
        ],
        "parameters": [
          {
            "name": "org",
            "in": "query",
            "required": false,
            "description": "Recipient organization name.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "uei",
            "in": "query",
            "required": false,
            "description": "Unique Entity ID.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "source",
            "in": "query",
            "required": false,
            "description": "NIH or NSF.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "state",
            "in": "query",
            "required": false,
            "description": "State.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "description": "Maximum results to return.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The answer, as JSON. Every record carries its source and the date it was read.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "400": {
            "description": "A parameter is missing or not valid."
          },
          "401": {
            "description": "Missing or invalid API key."
          },
          "404": {
            "description": "Nothing found for that lookup (not billed)."
          },
          "429": {
            "description": "Rate limited; wait for Retry-After seconds.",
            "headers": {
              "Retry-After": {
                "schema": {
                  "type": "integer"
                }
              }
            }
          }
        }
      }
    },
    "/v1/lobbying": {
      "get": {
        "operationId": "lobbying",
        "summary": "Federal lobbying disclosures",
        "tags": [
          "Government"
        ],
        "security": [
          {
            "bearer": []
          }
        ],
        "parameters": [
          {
            "name": "client",
            "in": "query",
            "required": false,
            "description": "Client name.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "registrant",
            "in": "query",
            "required": false,
            "description": "Lobbying firm.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "year",
            "in": "query",
            "required": false,
            "description": "Filing year.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "description": "Maximum results to return.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The answer, as JSON. Every record carries its source and the date it was read.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "400": {
            "description": "A parameter is missing or not valid."
          },
          "401": {
            "description": "Missing or invalid API key."
          },
          "404": {
            "description": "Nothing found for that lookup (not billed)."
          },
          "429": {
            "description": "Rate limited; wait for Retry-After seconds.",
            "headers": {
              "Retry-After": {
                "schema": {
                  "type": "integer"
                }
              }
            }
          }
        }
      }
    },
    "/v1/salaries": {
      "get": {
        "operationId": "salaries",
        "summary": "BLS wage estimates by occupation and area",
        "tags": [
          "Government"
        ],
        "security": [
          {
            "bearer": []
          }
        ],
        "parameters": [
          {
            "name": "occupation",
            "in": "query",
            "required": false,
            "description": "SOC code or job title words.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "title",
            "in": "query",
            "required": false,
            "description": "Occupation title words.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "state",
            "in": "query",
            "required": false,
            "description": "State.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "area",
            "in": "query",
            "required": false,
            "description": "Area code.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "year",
            "in": "query",
            "required": false,
            "description": "Year.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "description": "Maximum results to return.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The answer, as JSON. Every record carries its source and the date it was read.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "400": {
            "description": "A parameter is missing or not valid."
          },
          "401": {
            "description": "Missing or invalid API key."
          },
          "404": {
            "description": "Nothing found for that lookup (not billed)."
          },
          "429": {
            "description": "Rate limited; wait for Retry-After seconds.",
            "headers": {
              "Retry-After": {
                "schema": {
                  "type": "integer"
                }
              }
            }
          }
        }
      }
    },
    "/v1/hazards": {
      "get": {
        "operationId": "hazards",
        "summary": "FEMA natural hazard risk",
        "tags": [
          "Government"
        ],
        "security": [
          {
            "bearer": []
          }
        ],
        "parameters": [
          {
            "name": "state",
            "in": "query",
            "required": false,
            "description": "State.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "county",
            "in": "query",
            "required": false,
            "description": "County name.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "fips",
            "in": "query",
            "required": false,
            "description": "County (5-digit) or tract (11-digit) FIPS.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "lat",
            "in": "query",
            "required": false,
            "description": "Latitude.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "lon",
            "in": "query",
            "required": false,
            "description": "Longitude.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The answer, as JSON. Every record carries its source and the date it was read.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "400": {
            "description": "A parameter is missing or not valid."
          },
          "401": {
            "description": "Missing or invalid API key."
          },
          "404": {
            "description": "Nothing found for that lookup (not billed)."
          },
          "429": {
            "description": "Rate limited; wait for Retry-After seconds.",
            "headers": {
              "Retry-After": {
                "schema": {
                  "type": "integer"
                }
              }
            }
          }
        }
      }
    },
    "/v1/schools": {
      "get": {
        "operationId": "schools",
        "summary": "K-12 schools and colleges",
        "tags": [
          "Government"
        ],
        "security": [
          {
            "bearer": []
          }
        ],
        "parameters": [
          {
            "name": "name",
            "in": "query",
            "required": false,
            "description": "Name.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "state",
            "in": "query",
            "required": false,
            "description": "State.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "city",
            "in": "query",
            "required": false,
            "description": "City.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "zip",
            "in": "query",
            "required": false,
            "description": "ZIP.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "kind",
            "in": "query",
            "required": false,
            "description": "k12 or college.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "description": "Maximum results to return.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The answer, as JSON. Every record carries its source and the date it was read.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "400": {
            "description": "A parameter is missing or not valid."
          },
          "401": {
            "description": "Missing or invalid API key."
          },
          "404": {
            "description": "Nothing found for that lookup (not billed)."
          },
          "429": {
            "description": "Rate limited; wait for Retry-After seconds.",
            "headers": {
              "Retry-After": {
                "schema": {
                  "type": "integer"
                }
              }
            }
          }
        }
      }
    },
    "/v1/datasets": {
      "get": {
        "operationId": "datasets",
        "summary": "The dataset catalog with sources and reuse terms (no key)",
        "tags": [
          "Service"
        ],
        "security": [],
        "parameters": [],
        "responses": {
          "200": {
            "description": "The answer, as JSON. Every record carries its source and the date it was read.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "400": {
            "description": "A parameter is missing or not valid."
          },
          "401": {
            "description": "Missing or invalid API key."
          },
          "404": {
            "description": "Nothing found for that lookup (not billed)."
          },
          "429": {
            "description": "Rate limited; wait for Retry-After seconds.",
            "headers": {
              "Retry-After": {
                "schema": {
                  "type": "integer"
                }
              }
            }
          }
        }
      }
    },
    "/v1/health": {
      "get": {
        "operationId": "health",
        "summary": "Coverage and last-run times (no key)",
        "tags": [
          "Service"
        ],
        "security": [],
        "parameters": [],
        "responses": {
          "200": {
            "description": "The answer, as JSON. Every record carries its source and the date it was read.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "400": {
            "description": "A parameter is missing or not valid."
          },
          "401": {
            "description": "Missing or invalid API key."
          },
          "404": {
            "description": "Nothing found for that lookup (not billed)."
          },
          "429": {
            "description": "Rate limited; wait for Retry-After seconds.",
            "headers": {
              "Retry-After": {
                "schema": {
                  "type": "integer"
                }
              }
            }
          }
        }
      }
    },
    "/v1/usage": {
      "get": {
        "operationId": "usage",
        "summary": "Your calls this billing month",
        "tags": [
          "Service"
        ],
        "security": [
          {
            "bearer": []
          }
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "The answer, as JSON. Every record carries its source and the date it was read.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "400": {
            "description": "A parameter is missing or not valid."
          },
          "401": {
            "description": "Missing or invalid API key."
          },
          "404": {
            "description": "Nothing found for that lookup (not billed)."
          },
          "429": {
            "description": "Rate limited; wait for Retry-After seconds.",
            "headers": {
              "Retry-After": {
                "schema": {
                  "type": "integer"
                }
              }
            }
          }
        }
      }
    }
  }
}