PERM Tracker Exports API

A search's whole answer, past one page, as CSV or JSON. Needs the export scope.

GitHub OpenAPI

Operations 1

GET /exports/{kind} Export a search's whole answer #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/permtracker-app:permtracker-app-exports-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

permtracker-app-exports-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: PERM Tracker Exports API
  summary: Federal PERM, prevailing wage, H-1B and visa bulletin records, as JSON.
  version: 1.1.0
  description: 'U.S. employment-based immigration records from the Department of Labor and the State Department, as JSON: a case by its number, cases found without one, DOL''s processing times and the pending queue, an estimate of a PERM decision date, the visa bulletin, and each employer''s, law firm''s and occupation''s PERM record.


    Every answer names its source, the date it''s true for and the page that shows it. The same reads are offered to AI assistants as tools at https://permtracker.app/mcp.


    Free plan: 10 calls a minute, 300 a day, 3,000 a month. A sandbox key (pt_test_) answers fixed sample data and is never counted.


    Errors are RFC 9457 problem documents that also carry the `error` object version 1 has always sent. The codes: bad_request, refused, missing_key, invalid_key, revoked_key, expired_key, missing_scope, plan_feature, sandbox_key, unknown_endpoint, not_found, rate_limited, daily_limit, monthly_limit, busy, live_daily_limit, live_api_limit, live_site_limit, export_daily_limit, internal_error, unavailable, key_check_failed, dol_unavailable, live_unavailable, record_failed, export_unavailable, not_loaded.'
  termsOfService: https://permtracker.app/api-terms
  contact:
    name: PERM Tracker
    email: support@permtracker.app
    url: https://permtracker.app/developers
  license:
    name: API terms; the data is CC BY 4.0
    url: https://permtracker.app/api-terms
servers:
- url: https://permtracker.app/v1
  description: Production
security:
- bearer: []
- apiKeyHeader: []
tags:
- name: Exports
  description: A search's whole answer, past one page, as CSV or JSON. Needs the export scope.
paths:
  /exports/{kind}:
    get:
      operationId: exportRecords
      tags:
      - Exports
      summary: Export a search's whole answer
      description: 'A search''s whole answer, past one page, as CSV (format=csv) or JSON: cases (the case search''s parameters, such as q, firm, state, occupation, outcome, and from and to for the filing date as a month, YYYY-MM, or one day, YYYY-MM-DD), employers, law-firms or occupations (q). Needs the export scope. Plus exports up to 1,000 rows a call and 20,000 rows a day. Counted as one call.


        Needs a key with the export scope. Counted as one call.'
      parameters:
      - name: kind
        in: path
        required: true
        description: What to export.
        schema:
          type: string
          enum:
          - cases
          - employers
          - law-firms
          - occupations
        example: employers
      - name: q
        in: query
        required: false
        description: The name to search (an employer for cases).
        schema:
          type: string
          maxLength: 120
        example: acme
      - name: format
        in: query
        required: false
        description: The answer's form.
        schema:
          type: string
          enum:
          - json
          - csv
          default: json
        example: csv
      - name: limit
        in: query
        required: false
        description: Rows to return, up to the plan's export cap.
        schema:
          type: integer
          minimum: 1
        example: 500
      responses:
        '200':
          description: The answer in `data`, and in `meta` the source, the date the data is true for and the page that shows it.
          headers:
            RateLimit-Limit:
              description: The plan's calls a minute.
              schema:
                type: integer
            RateLimit-Remaining:
              description: Calls left in this minute.
              schema:
                type: integer
            RateLimit-Reset:
              description: Seconds until the minute turns.
              schema:
                type: integer
          content:
            application/json:
              schema:
                type: object
                required:
                - data
                - meta
                properties:
                  data:
                    $ref: '#/components/schemas/Export'
                  meta:
                    $ref: '#/components/schemas/Meta'
              example:
                data:
                  kind: employers
                  rows:
                  - kind: employer
                    slug: example-robotics-llc
                    name: Example Robotics LLC
                    publishedCases: 86
                    certified: 81
                    denied: 2
                  count: 1
                  cap: 1000
                  truncated: false
                  note: null
                meta:
                  source: PERM Tracker
                  asOf: null
                  url: https://permtracker.app/developers
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '429':
          $ref: '#/components/responses/TooManyRequests'
        '500':
          $ref: '#/components/responses/ServerError'
        '503':
          $ref: '#/components/responses/Unavailable'
components:
  responses:
    Forbidden:
      description: 'The key lacks the scope, or the plan lacks the feature. Not counted. Codes: missing_scope, plan_feature, sandbox_key.'
      content:
        application/problem+json:
          schema:
            $ref: '#/components/schemas/Problem'
          example:
            type: https://permtracker.app/developers#error-missing-scope
            title: The key lacks a scope
            status: 403
            detail: 'The key can read public records, and this call needs more: export, live_lookup or webhooks. Make a key with that scope.'
            code: missing_scope
            error:
              code: missing_scope
              message: 'The key can read public records, and this call needs more: export, live_lookup or webhooks. Make a key with that scope.'
              docs: https://permtracker.app/developers
    BadRequest:
      description: 'The request isn''t valid. Not counted. Codes: bad_request, refused.'
      content:
        application/problem+json:
          schema:
            $ref: '#/components/schemas/Problem'
          example:
            type: https://permtracker.app/developers#error-bad-request
            title: The request isn't valid
            status: 400
            detail: A parameter is missing, malformed or out of range. The message says which one and what it takes.
            code: bad_request
            error:
              code: bad_request
              message: A parameter is missing, malformed or out of range. The message says which one and what it takes.
              docs: https://permtracker.app/developers
    ServerError:
      description: 'Something went wrong on our side. Nothing was counted. Codes: internal_error.'
      content:
        application/problem+json:
          schema:
            $ref: '#/components/schemas/Problem'
          example:
            type: https://permtracker.app/developers#error-internal-error
            title: Something went wrong on our side
            status: 500
            detail: Our failure, not the request's. Nothing was counted. Try again shortly.
            code: internal_error
            error:
              code: internal_error
              message: Our failure, not the request's. Nothing was counted. Try again shortly.
              docs: https://permtracker.app/developers
    TooManyRequests:
      description: 'A minute, day or month limit. Retry-After says when it lifts. Not counted. Codes: rate_limited, daily_limit, monthly_limit, busy, live_daily_limit, live_api_limit, live_site_limit, export_daily_limit.'
      headers:
        Retry-After:
          description: Seconds until it's worth trying again.
          schema:
            type: integer
      content:
        application/problem+json:
          schema:
            $ref: '#/components/schemas/Problem'
          example:
            type: https://permtracker.app/developers#error-rate-limited
            title: Too many calls this minute
            status: 429
            detail: The plan's calls a minute are used, or one address is asking faster than the front door allows. Retry-After says how many seconds to wait.
            code: rate_limited
            retryAfter: 42
            error:
              code: rate_limited
              message: The plan's calls a minute are used, or one address is asking faster than the front door allows. Retry-After says how many seconds to wait.
              retryAfter: 42
              docs: https://permtracker.app/developers
    Unauthorized:
      description: 'No key, or a key that''s unknown, revoked or expired. Codes: missing_key, invalid_key, revoked_key, expired_key.'
      content:
        application/problem+json:
          schema:
            $ref: '#/components/schemas/Problem'
          example:
            type: https://permtracker.app/developers#error-missing-key
            title: No API key
            status: 401
            detail: 'The endpoint needs a key. Make one free in Settings, under API keys, and send it as Authorization: Bearer <key>.'
            code: missing_key
            error:
              code: missing_key
              message: 'The endpoint needs a key. Make one free in Settings, under API keys, and send it as Authorization: Bearer <key>.'
              docs: https://permtracker.app/developers
    NotFound:
      description: 'No such record. Counted, like an answer. Codes: unknown_endpoint, not_found.'
      content:
        application/problem+json:
          schema:
            $ref: '#/components/schemas/Problem'
          example:
            type: https://permtracker.app/developers#error-unknown-endpoint
            title: No such endpoint
            status: 404
            detail: The address isn't one of the API's endpoints. The index at /v1 lists them, and so does the OpenAPI document.
            code: unknown_endpoint
            error:
              code: unknown_endpoint
              message: The address isn't one of the API's endpoints. The index at /v1 lists them, and so does the OpenAPI document.
              docs: https://permtracker.app/developers
    Unavailable:
      description: 'A part the call needs can''t be reached right now. Retry-After says when to try again. Not counted. Codes: unavailable, key_check_failed, dol_unavailable, live_unavailable, record_failed, export_unavailable, not_loaded.'
      headers:
        Retry-After:
          description: Seconds until it's worth trying again.
          schema:
            type: integer
      content:
        application/problem+json:
          schema:
            $ref: '#/components/schemas/Problem'
          example:
            type: https://permtracker.app/developers#error-unavailable
            title: Not available right now
            status: 503
            detail: A part the call needs can't be reached, or the server is full for a moment. Retry-After, when it's sent, says how long to wait.
            code: unavailable
            error:
              code: unavailable
              message: A part the call needs can't be reached, or the server is full for a moment. Retry-After, when it's sent, says how long to wait.
              docs: https://permtracker.app/developers
  schemas:
    Problem:
      type: object
      properties:
        type:
          type: string
          description: A URL naming the kind of problem. It opens the docs for that error code.
        title:
          type: string
          description: The kind of problem in a few words.
        status:
          type: integer
          minimum: -9007199254740991
          maximum: 9007199254740991
          description: The HTTP status, repeated.
        detail:
          type: string
          description: What went wrong with this request and what to do, in a sentence.
        code:
          type: string
          description: A stable machine-readable code, e.g. rate_limited or not_found.
        retryAfter:
          description: Seconds until the limit lifts. Also sent as the Retry-After header.
          type: integer
          minimum: -9007199254740991
          maximum: 9007199254740991
        error:
          type: object
          properties:
            code:
              type: string
              description: The same code.
            message:
              type: string
              description: The same sentence as detail.
            retryAfter:
              description: Seconds until the limit lifts.
              type: integer
              minimum: -9007199254740991
              maximum: 9007199254740991
            url:
              description: A page on permtracker.app that can help, when there is one.
              type: string
            docs:
              type: string
              description: The developer page.
          required:
          - code
          - message
          - docs
          additionalProperties: {}
          description: The error as version 1 has always sent it. Kept so older clients keep working.
      required:
      - type
      - title
      - status
      - detail
      - code
      - error
      additionalProperties: {}
      description: 'A refusal or a failure: an RFC 9457 problem document, with the older error object inside it.'
    Export:
      type: object
      properties:
        kind:
          type: string
          enum:
          - cases
          - employers
          - law-firms
          - occupations
          description: What was exported.
        rows:
          type: array
          items:
            type: object
            propertyNames:
              type: string
            additionalProperties: {}
          description: The rows. The CSV form carries the same rows.
        count:
          type: integer
          minimum: -9007199254740991
          maximum: 9007199254740991
          description: Rows in this answer.
        cap:
          type: integer
          minimum: -9007199254740991
          maximum: 9007199254740991
          description: The most rows one export may hold on this plan.
        truncated:
          type: boolean
          description: True when more matched than the export holds.
        note:
          description: What to do when the export was cut short.
          type:
          - string
          - 'null'
      required:
      - kind
      - rows
      - count
      - cap
      - truncated
      - note
      additionalProperties: {}
      description: A search's whole answer as rows.
    Meta:
      type: object
      properties:
        source:
          type: string
          description: Who published the underlying records, in words.
        asOf:
          anyOf:
          - type: string
            pattern: ^\d{4}-\d{2}-\d{2}$
            description: The date the data is true for, as YYYY-MM-DD.
          - type: 'null'
          description: The date the data is true for, as YYYY-MM-DD, or null when no single date applies.
        url:
          type: string
          description: The page on permtracker.app that shows the same thing. Cite it.
      required:
      - source
      - asOf
      - url
      additionalProperties: false
      description: 'Where the answer came from: the publisher, the date it''s true for, and the page that shows it.'
  securitySchemes:
    bearer:
      type: http
      scheme: bearer
      description: 'Your key, pt_live_... (or pt_test_... for the sandbox), from Settings > API keys, as Authorization: Bearer <key>.'
    apiKeyHeader:
      type: apiKey
      in: header
      name: X-API-Key
      description: The same key in an X-API-Key header, for clients that can't set Authorization.
externalDocs:
  description: 'The developer page: quick start, limits, errors, webhooks, SDKs and the MCP server.'
  url: https://permtracker.app/developers