Junction Insurance API

The insurance API from Vital — 3 operation(s) for insurance.

Operations 4

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

POST /v3/insurance/search/payor Search payors with a POST request body · Post Insurance Payor Information #
Ask an LLM
“Can I submit a payor lookup as a JSON body instead of query parameters?”
“Is there a body-based payor search that accepts a provider ID?”
Tell an agent
Post a payor search for {body_name} with provider ID {provider_id}.
Run the POST payor lookup for insurer {body_name} under {body_provider}.
GET /v3/insurance/search/payor Search insurance payors by name · Search Insurance Payor Information #
Ask an LLM
“How do I find the payor code for a patient's insurance company?”
“Can I look up a payor using a lab provider's own payor ID?”
Tell an agent
Search for insurance payors named {insurance_name}.
Find the payor with provider payor ID {provider_payor_id} at {provider}.
GET /v3/insurance/search/diagnosis Search diagnoses by keyword · Search Diagnosis #
Ask an LLM
“What diagnosis code matches a condition like type 2 diabetes?”
“Can I search diagnoses by keyword to pick codes for a lab order?”
Tell an agent
Search diagnoses matching {diagnosis}.
Find diagnosis codes for {diagnosis}.
POST /v3/insurance/validate_icd_codes Validate a list of ICD codes · Validate Icd Codes #
Ask an LLM
“Can I check whether a list of ICD codes is valid before placing an order?”
“Which of my ICD codes would come back as invalid?”
Tell an agent
Validate the ICD codes {codes}.
Check whether {codes} are valid ICD codes.

Documentation

Specifications

Schemas & Data

Other Resources

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/junction-com:junction-com-insurance-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. See our Privacy Policy and Terms.

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

OpenAPI Specification

junction-com-insurance-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Junction Insurance API
  version: '1.0'
  description: 'Operations tagged insurance across 2 of this provider''s published API definitions: junction-openapi-live-2026-10-12.json, vital-openapi-original.json. Each path carries the servers of the definition it was published in.'
servers:
- url: https://api.us.junction.com
  x-fern-server-name: Production
- url: https://api.eu.junction.com
  x-fern-server-name: ProductionEU
- url: https://api.sandbox.us.junction.com
  x-fern-server-name: Sandbox
- url: https://api.sandbox.eu.junction.com
  x-fern-server-name: SandboxEU
security:
- apiKeyAuth: []
tags:
- name: Insurance
paths:
  /v3/insurance/search/payor:
    post:
      tags:
      - Insurance
      summary: Post Insurance Payor Information
      operationId: post_insurance_payor_information_v3_insurance_search_payor_post
      deprecated: true
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PayorSearchRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/ClientFacingPayorSearchResponseDeprecated'
                title: Response Post Insurance Payor Information V3 Insurance Search Payor Post
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      x-fern-sdk-group-name: insurance
      x-fern-sdk-method-name: search_payor_info
    get:
      tags:
      - Insurance
      summary: Search Insurance Payor Information
      operationId: search_insurance_payor_information_v3_insurance_search_payor_get
      parameters:
      - name: insurance_name
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Insurance Name
      - name: provider
        in: query
        required: false
        schema:
          anyOf:
          - $ref: '#/components/schemas/PayorCodeExternalProvider'
          - type: 'null'
          title: Provider
      - name: provider_payor_id
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Provider Payor Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/ClientFacingPayorSearchResponse'
                title: Response Search Insurance Payor Information V3 Insurance Search Payor Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      x-fern-sdk-group-name: insurance
      x-fern-sdk-method-name: search_get_payor_info
    servers:
    - url: https://api.us.junction.com
      x-fern-server-name: Production
    - url: https://api.eu.junction.com
      x-fern-server-name: ProductionEU
    - url: https://api.sandbox.us.junction.com
      x-fern-server-name: Sandbox
    - url: https://api.sandbox.eu.junction.com
      x-fern-server-name: SandboxEU
  /v3/insurance/search/diagnosis:
    get:
      tags:
      - Insurance
      summary: Search Diagnosis
      operationId: search_diagnosis_v3_insurance_search_diagnosis_get
      parameters:
      - name: diagnosis_query
        in: query
        required: true
        schema:
          type: string
          title: Diagnosis Query
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/ClientFacingDiagnosisInformation'
                title: Response Search Diagnosis V3 Insurance Search Diagnosis Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      x-fern-sdk-group-name: insurance
      x-fern-sdk-method-name: search_diagnosis
    servers:
    - url: https://api.us.junction.com
      x-fern-server-name: Production
    - url: https://api.eu.junction.com
      x-fern-server-name: ProductionEU
    - url: https://api.sandbox.us.junction.com
      x-fern-server-name: Sandbox
    - url: https://api.sandbox.eu.junction.com
      x-fern-server-name: SandboxEU
  /v3/insurance/validate_icd_codes:
    post:
      tags:
      - Insurance
      summary: Validate Icd Codes
      operationId: validate_icd_codes_v3_insurance_validate_icd_codes_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ValidateICDCodesBody'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidateICDCodesResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      x-fern-sdk-group-name: lab_tests
      x-fern-sdk-method-name: validate_icd_codes
    servers:
    - url: https://api.us.junction.com
      x-fern-server-name: Production
    - url: https://api.eu.junction.com
      x-fern-server-name: ProductionEU
    - url: https://api.sandbox.us.junction.com
      x-fern-server-name: Sandbox
    - url: https://api.sandbox.eu.junction.com
      x-fern-server-name: SandboxEU
components:
  schemas:
    ClientFacingPayorCodeSource:
      type: string
      enum:
      - platform
      - team
      title: ClientFacingPayorCodeSource
      description: ℹ️ This enum is non-exhaustive.
    ValidateICDCodesResponse:
      properties:
        valid:
          type: boolean
          title: Valid
        errors:
          items:
            type: string
          type: array
          title: Errors
        violations:
          items:
            $ref: '#/components/schemas/ICDExcludesViolation'
          type: array
          title: Violations
        warnings:
          items:
            $ref: '#/components/schemas/ICDExcludesWarning'
          type: array
          title: Warnings
      type: object
      required:
      - valid
      - errors
      - violations
      - warnings
      title: ValidateICDCodesResponse
    ClientFacingPayorSearchResponseDeprecated:
      properties:
        code:
          type: string
          title: Code
          description: Payor code returned for the insurance information.
        name:
          type: string
          title: Name
          description: Insurance name returned for the insurance information.
        aliases:
          items:
            type: string
          type: array
          title: Aliases
          description: Insurance name aliases returned for the insurance information.
        org_address:
          $ref: '#/components/schemas/Address'
          description: Insurance business address returned for the insurance information.
        source:
          $ref: '#/components/schemas/ClientFacingPayorCodeSource'
          description: The source of the payor, can be one of (platform, team). ℹ️ This enum is non-exhaustive.
      type: object
      required:
      - code
      - name
      - aliases
      - org_address
      - source
      title: ClientFacingPayorSearchResponseDeprecated
    ClientFacingPayorSearchResponse:
      properties:
        payor_code:
          type: string
          title: Payor Code
          description: Payor code returned for the insurance information.
        name:
          type: string
          title: Name
          description: Insurance name returned for the insurance information.
        aliases:
          items:
            type: string
          type: array
          title: Aliases
          description: Insurance name aliases returned for the insurance information.
        org_address:
          $ref: '#/components/schemas/Address'
          description: Insurance business address returned for the insurance information.
        source:
          $ref: '#/components/schemas/ClientFacingPayorCodeSource'
          description: The source of the payor, can be one of (platform, team). ℹ️ This enum is non-exhaustive.
      type: object
      required:
      - payor_code
      - name
      - aliases
      - org_address
      - source
      title: ClientFacingPayorSearchResponse
    ValidateICDCodesBody:
      properties:
        codes:
          items:
            type: string
          type: array
          title: Codes
      type: object
      required:
      - codes
      title: ValidateICDCodesBody
    ClientFacingDiagnosisInformation:
      properties:
        diagnosis_code:
          type: string
          title: Diagnosis Code
          description: Diagnosis code for insurance information.
        description:
          type: string
          title: Description
          description: Diagnosis description insurance information.
        is_secondary:
          type: boolean
          title: Is Secondary
          default: false
      type: object
      required:
      - diagnosis_code
      - description
      title: ClientFacingDiagnosisInformation
    Address:
      properties:
        first_line:
          type: string
          title: First Line
        second_line:
          anyOf:
          - type: string
          - type: 'null'
          title: Second Line
          default: ''
        country:
          type: string
          title: Country
        zip:
          type: string
          title: Zip
        city:
          type: string
          title: City
        state:
          type: string
          title: State
        access_notes:
          anyOf:
          - type: string
            maxLength: 1000
          - type: 'null'
          title: Access Notes
      type: object
      required:
      - first_line
      - country
      - zip
      - city
      - state
      title: Address
    ICDExcludesWarning:
      properties:
        code:
          type: string
          title: Code
        overlaps_with:
          type: string
          title: Overlaps With
        type:
          type: string
          title: Type
      type: object
      required:
      - code
      - overlaps_with
      - type
      title: ICDExcludesWarning
    ICDExcludesViolation:
      properties:
        code:
          type: string
          title: Code
        conflicts_with:
          type: string
          title: Conflicts With
        type:
          type: string
          title: Type
      type: object
      required:
      - code
      - conflicts_with
      - type
      title: ICDExcludesViolation
    HTTPValidationError:
      properties:
        detail:
          title: Detail
      type: object
      title: HTTPValidationError
    PayorCodeExternalProvider:
      type: string
      enum:
      - change_healthcare
      - availity
      - stedi
      - waystar
      - claim_md
      - apero
      - pverify
      title: PayorCodeExternalProvider
      description: ℹ️ This enum is non-exhaustive.
    PayorSearchRequest:
      properties:
        insurance_name:
          anyOf:
          - type: string
          - type: 'null'
          title: Insurance Name
        provider:
          anyOf:
          - $ref: '#/components/schemas/PayorCodeExternalProvider'
          - type: 'null'
          description: ℹ️ This enum is non-exhaustive.
        provider_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Provider Id
      type: object
      title: PayorSearchRequest
  securitySchemes:
    apiKeyAuth:
      type: apiKey
      in: header
      name: x-vital-api-key
      description: Vital Team API Key
x-refined-from:
- junction-openapi-live-2026-10-12.json
- vital-openapi-original.json
x-provenance:
  method: harvested
  publisher: Junction
  source: https://api.us.junction.com/openapi.json
  note: split by refine-openapis from the provider's own published document, verified by fetch (openapi/_original/*.fetch.json);
    stamped by stamp-openapi-provenance.py (roadmap#793)