CostKits Bill Analysis API

The Bill Analysis API from CostKits — 1 operation(s) for bill analysis.

GitHub OpenAPI

Operations 1

POST /v1/bill-analysis Bill Anomaly Detection (Pro) #

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/costkits-com:costkits-com-bill-analysis-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

costkits-com-bill-analysis-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: CostKits Bill Analysis API
  description: Actuarial-grade healthcare cost intelligence. Estimate procedure costs, find providers with real pricing data, explain insurance coverage rules, and detect medical billing anomalies across all 50 US states.
  version: 1.0.0
  contact:
    email: api@costkits.com
    url: https://www.costkits.com
  license:
    name: MIT
    url: https://github.com/costkits/costkits-api/blob/main/LICENSE
servers:
- url: https://api.costkits.com
  description: Production
security:
- ApiKeyAuth: []
tags:
- name: Bill Analysis
paths:
  /v1/bill-analysis:
    post:
      summary: Bill Anomaly Detection (Pro)
      description: Analyzes up to 100 medical bill line items for duplicate charges, unbundling, quantity errors, gender mismatches, and screening reclassification. Returns a risk score, flags, and plain-English summary. Pro plan required.
      operationId: billAnalysis
      tags:
      - Bill Analysis
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - line_items
              properties:
                line_items:
                  type: array
                  maxItems: 100
                  items:
                    type: object
                    properties:
                      cpt:
                        type: string
                      hcpcs:
                        type: string
                      description:
                        type: string
                      billed:
                        type: number
                      allowed:
                        type: number
                      member_responsibility:
                        type: number
                      quantity:
                        type: integer
            example:
              line_items:
              - cpt: '45378'
                description: Colonoscopy diagnostic
                billed: 3200
                allowed: 1800
                member_responsibility: 360
                quantity: 1
              - cpt: '45378'
                description: Colonoscopy diagnostic
                billed: 3200
                allowed: 1800
                member_responsibility: 360
                quantity: 1
      responses:
        '200':
          description: Bill analysis result
          content:
            application/json:
              example:
                risk_score: 0.82
                flags:
                - type: duplicate_charge
                  severity: high
                  cpt: '45378'
                  explanation: CPT 45378 appears twice with identical billed amounts.
                summary: High risk. One duplicate charge detected. Recommend disputing with provider.
                meta:
                  line_item_count: 2
                  flag_count: 1
                  model_version: v1.0
        '403':
          description: Pro plan required
components:
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: Authorization
      description: 'Bearer token: Authorization: Bearer YOUR_API_KEY'
externalDocs:
  description: CostKits API documentation
  url: https://www.costkits.com/api/