KnowJudges Immigration API

The Immigration API from KnowJudges — 2 operation(s) for immigration.

GitHub OpenAPI

Operations 2

GET /v1/immigration/analytics Source-linked asylum application outcomes for an exact cohort #
GET /v1/immigration/compare Source-linked asylum application outcomes for an exact cohort #

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/knowjudges-com:knowjudges-com-immigration-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

knowjudges-com-immigration-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: KnowJudges Public Immigration API
  version: 2.7.4
  description: Dates distinguish last_updated (profile content update or per-profile Core release) from last_verified/source_checks (scoped evidence checks). Read-only, source-linked judicial, courtroom presentation, and AI-abuse case intelligence. REST and MCP requests share a public limit of 20 per hour and 100 per day. Search results are capped at 10 and bulk export is not available through the public service; see the KnowJudges data-access page for bulk access.
  contact:
    name: KnowJudges data access
    url: https://knowjudges.com/data-licensing
  x-api-major: v1
servers:
- url: https://api.knowjudges.com
tags:
- name: Immigration
paths:
  /v1/immigration/analytics:
    get:
      operationId: getImmigrationAnalytics
      summary: Source-linked asylum application outcomes for an exact cohort
      description: Asylum outcomes support joint nationality, calendar/fiscal proceeding-completion year and recorded court state filters. Explicit proceeding_removal_rate supports joint proceeding outcomes with partial cell coverage. Asylum percentages use grant-coded plus denied outcomes; procedural outcomes are separate. Comparisons default to minimum_decisions 1, label samples below 35, and return up to ten entities.
      parameters:
      - name: entity
        in: query
        required: true
        schema:
          type: string
          enum:
          - judge
          - court
      - name: metric
        in: query
        required: false
        schema:
          default: asylum_denial_rate
          type: string
          enum:
          - asylum_denial_rate
          - proceeding_removal_rate
      - name: year
        in: query
        required: false
        schema:
          type: integer
          minimum: 1950
          maximum: 2100
      - name: year_basis
        in: query
        required: false
        schema:
          default: calendar
          type: string
          enum:
          - calendar
          - fiscal
      - name: nationality
        in: query
        required: false
        schema:
          type: string
          minLength: 2
          maxLength: 100
      - name: state
        in: query
        required: false
        schema:
          type: string
      - name: profile_url
        in: query
        required: true
        schema:
          type: string
          format: uri
      responses:
        '200':
          description: Analytics results or explicit coverage/unavailability status
          content:
            application/json:
              schema:
                $schema: https://json-schema.org/draft/2020-12/schema
                type: object
                properties:
                  availability:
                    type: string
                    enum:
                    - available
                    - dataset_unavailable
                    - breakdown_unavailable
                    - period_unavailable
                    - nationality_unavailable
                    - no_qualifying_results
                  message:
                    type: string
                  metric:
                    type: string
                    enum:
                    - asylum_denial_rate
                    - proceeding_removal_rate
                  nationality:
                    anyOf:
                    - type: string
                    - type: 'null'
                  state:
                    anyOf:
                    - type: string
                    - type: 'null'
                  period:
                    type: object
                    properties:
                      year:
                        anyOf:
                        - type: integer
                          minimum: -9007199254740991
                          maximum: 9007199254740991
                        - type: 'null'
                      year_basis:
                        type: string
                      date_basis:
                        type: string
                      coverage:
                        type: string
                    required:
                    - year
                    - year_basis
                    - date_basis
                    - coverage
                    additionalProperties: false
                  denominator_definition:
                    type: string
                  geography_definition:
                    type: string
                  minimum_decisions:
                    type: integer
                    minimum: 0
                    maximum: 9007199254740991
                  eligible_entities:
                    type: integer
                    minimum: 0
                    maximum: 9007199254740991
                  source:
                    anyOf:
                    - type: object
                      properties:
                        url:
                          type: string
                          format: uri
                        methodology_url:
                          type: string
                          format: uri
                        snapshot:
                          type: string
                        release:
                          type: string
                      required:
                      - url
                      - methodology_url
                      - snapshot
                      - release
                      additionalProperties: false
                    - type: 'null'
                  limitations:
                    type: array
                    items:
                      type: string
                  results:
                    maxItems: 10
                    type: array
                    items:
                      type: object
                      properties:
                        name:
                          type: string
                        profile_url:
                          anyOf:
                          - type: string
                            format: uri
                          - type: 'null'
                        court_name:
                          anyOf:
                          - type: string
                          - type: 'null'
                        court_url:
                          anyOf:
                          - type: string
                            format: uri
                          - type: 'null'
                        granted:
                          type: integer
                          minimum: 0
                          maximum: 9007199254740991
                        denied:
                          type: integer
                          minimum: 0
                          maximum: 9007199254740991
                        other_outcomes:
                          type: integer
                          minimum: 0
                          maximum: 9007199254740991
                        excluded:
                          type: integer
                          minimum: 0
                          maximum: 9007199254740991
                        decisions:
                          type: integer
                          minimum: 0
                          maximum: 9007199254740991
                        removal_orders:
                          anyOf:
                          - type: integer
                            minimum: 0
                            maximum: 9007199254740991
                          - type: 'null'
                        relief_granted:
                          anyOf:
                          - type: integer
                            minimum: 0
                            maximum: 9007199254740991
                          - type: 'null'
                        outcome_denominator:
                          type: integer
                          minimum: 0
                          maximum: 9007199254740991
                        grant_rate:
                          anyOf:
                          - type: number
                            minimum: 0
                            maximum: 100
                          - type: 'null'
                        denial_rate:
                          anyOf:
                          - type: number
                            minimum: 0
                            maximum: 100
                          - type: 'null'
                        removal_rate:
                          anyOf:
                          - type: number
                            minimum: 0
                            maximum: 100
                          - type: 'null'
                        sample_note:
                          anyOf:
                          - type: string
                          - type: 'null'
                        current_roster_count:
                          anyOf:
                          - type: integer
                            minimum: 0
                            maximum: 9007199254740991
                          - type: 'null'
                        analytics_judge_count:
                          anyOf:
                          - type: integer
                            minimum: 0
                            maximum: 9007199254740991
                          - type: 'null'
                      required:
                      - name
                      - profile_url
                      - court_name
                      - court_url
                      - granted
                      - denied
                      - other_outcomes
                      - excluded
                      - decisions
                      - grant_rate
                      - denial_rate
                      - removal_rate
                      - sample_note
                      - current_roster_count
                      - analytics_judge_count
                      additionalProperties: false
                required:
                - availability
                - message
                - metric
                - nationality
                - state
                - period
                - denominator_definition
                - geography_definition
                - minimum_decisions
                - eligible_entities
                - source
                - limitations
                - results
                additionalProperties: false
        '400':
          description: Invalid filters
        '429':
          description: Shared access allowance exceeded
        '503':
          description: Analytics storage unavailable
      tags:
      - Immigration
  /v1/immigration/compare:
    get:
      operationId: compareImmigrationAnalytics
      summary: Source-linked asylum application outcomes for an exact cohort
      description: Asylum outcomes support joint nationality, calendar/fiscal proceeding-completion year and recorded court state filters. Explicit proceeding_removal_rate supports joint proceeding outcomes with partial cell coverage. Asylum percentages use grant-coded plus denied outcomes; procedural outcomes are separate. Comparisons default to minimum_decisions 1, label samples below 35, and return up to ten entities.
      parameters:
      - name: entity
        in: query
        required: true
        schema:
          type: string
          enum:
          - judge
          - court
      - name: metric
        in: query
        required: false
        schema:
          default: asylum_denial_rate
          type: string
          enum:
          - asylum_denial_rate
          - proceeding_removal_rate
      - name: year
        in: query
        required: false
        schema:
          type: integer
          minimum: 1950
          maximum: 2100
      - name: year_basis
        in: query
        required: false
        schema:
          default: calendar
          type: string
          enum:
          - calendar
          - fiscal
      - name: nationality
        in: query
        required: false
        schema:
          type: string
          minLength: 2
          maxLength: 100
      - name: state
        in: query
        required: false
        schema:
          type: string
      - name: order
        in: query
        required: false
        schema:
          default: ascending
          type: string
          enum:
          - ascending
          - descending
      - name: minimum_decisions
        in: query
        required: false
        schema:
          default: 1
          description: Minimum grant-or-denial decisions; defaults to 1. Samples below 35 are labeled, not hidden.
          type: integer
          minimum: 1
          maximum: 100000
      - name: limit
        in: query
        required: false
        schema:
          default: 3
          type: integer
          minimum: 1
          maximum: 10
      responses:
        '200':
          description: Analytics results or explicit coverage/unavailability status
          content:
            application/json:
              schema:
                $schema: https://json-schema.org/draft/2020-12/schema
                type: object
                properties:
                  availability:
                    type: string
                    enum:
                    - available
                    - dataset_unavailable
                    - breakdown_unavailable
                    - period_unavailable
                    - nationality_unavailable
                    - no_qualifying_results
                  message:
                    type: string
                  metric:
                    type: string
                    enum:
                    - asylum_denial_rate
                    - proceeding_removal_rate
                  nationality:
                    anyOf:
                    - type: string
                    - type: 'null'
                  state:
                    anyOf:
                    - type: string
                    - type: 'null'
                  period:
                    type: object
                    properties:
                      year:
                        anyOf:
                        - type: integer
                          minimum: -9007199254740991
                          maximum: 9007199254740991
                        - type: 'null'
                      year_basis:
                        type: string
                      date_basis:
                        type: string
                      coverage:
                        type: string
                    required:
                    - year
                    - year_basis
                    - date_basis
                    - coverage
                    additionalProperties: false
                  denominator_definition:
                    type: string
                  geography_definition:
                    type: string
                  minimum_decisions:
                    type: integer
                    minimum: 0
                    maximum: 9007199254740991
                  eligible_entities:
                    type: integer
                    minimum: 0
                    maximum: 9007199254740991
                  source:
                    anyOf:
                    - type: object
                      properties:
                        url:
                          type: string
                          format: uri
                        methodology_url:
                          type: string
                          format: uri
                        snapshot:
                          type: string
                        release:
                          type: string
                      required:
                      - url
                      - methodology_url
                      - snapshot
                      - release
                      additionalProperties: false
                    - type: 'null'
                  limitations:
                    type: array
                    items:
                      type: string
                  results:
                    maxItems: 10
                    type: array
                    items:
                      type: object
                      properties:
                        name:
                          type: string
                        profile_url:
                          anyOf:
                          - type: string
                            format: uri
                          - type: 'null'
                        court_name:
                          anyOf:
                          - type: string
                          - type: 'null'
                        court_url:
                          anyOf:
                          - type: string
                            format: uri
                          - type: 'null'
                        granted:
                          type: integer
                          minimum: 0
                          maximum: 9007199254740991
                        denied:
                          type: integer
                          minimum: 0
                          maximum: 9007199254740991
                        other_outcomes:
                          type: integer
                          minimum: 0
                          maximum: 9007199254740991
                        excluded:
                          type: integer
                          minimum: 0
                          maximum: 9007199254740991
                        decisions:
                          type: integer
                          minimum: 0
                          maximum: 9007199254740991
                        removal_orders:
                          anyOf:
                          - type: integer
                            minimum: 0
                            maximum: 9007199254740991
                          - type: 'null'
                        relief_granted:
                          anyOf:
                          - type: integer
                            minimum: 0
                            maximum: 9007199254740991
                          - type: 'null'
                        outcome_denominator:
                          type: integer
                          minimum: 0
                          maximum: 9007199254740991
                        grant_rate:
                          anyOf:
                          - type: number
                            minimum: 0
                            maximum: 100
                          - type: 'null'
                        denial_rate:
                          anyOf:
                          - type: number
                            minimum: 0
                            maximum: 100
                          - type: 'null'
                        removal_rate:
                          anyOf:
                          - type: number
                            minimum: 0
                            maximum: 100
                          - type: 'null'
                        sample_note:
                          anyOf:
                          - type: string
                          - type: 'null'
                        current_roster_count:
                          anyOf:
                          - type: integer
                            minimum: 0
                            maximum: 9007199254740991
                          - type: 'null'
                        analytics_judge_count:
                          anyOf:
                          - type: integer
                            minimum: 0
                            maximum: 9007199254740991
                          - type: 'null'
                      required:
                      - name
                      - profile_url
                      - court_name
                      - court_url
                      - granted
                      - denied
                      - other_outcomes
                      - excluded
                      - decisions
                      - grant_rate
                      - denial_rate
                      - removal_rate
                      - sample_note
                      - current_roster_count
                      - analytics_judge_count
                      additionalProperties: false
                required:
                - availability
                - message
                - metric
                - nationality
                - state
                - period
                - denominator_definition
                - geography_definition
                - minimum_decisions
                - eligible_entities
                - source
                - limitations
                - results
                additionalProperties: false
        '400':
          description: Invalid filters
        '429':
          description: Shared access allowance exceeded
        '503':
          description: Analytics storage unavailable
      tags:
      - Immigration