VerityVerity API
API Reference

Look up medical code

Look up a medical code (CPT, HCPCS, ICD-10, NDC) and get coverage information. Returns fuzzy suggestions when exact match fails.

GET
/codes/lookup

Authorization

bearerAuth
AuthorizationBearer <token>

API key in format: vrt_live_xxxxx or vrt_test_xxxxx

In: header

Query Parameters

code*string

The medical code to look up

Length1 <= length <= 20
code_system?string

Hint for code system to search

Value in"CPT" | "HCPCS" | "ICD10CM" | "ICD10PCS" | "NDC"
jurisdiction?string

Filter policies by MAC jurisdiction

Lengthlength <= 10
include?string

Additional data to include (comma-separated: rvu, policies)

fuzzy?string

Enable fuzzy matching on miss

Default"true"
Value in"true" | "false"

Response Body

application/json

application/json

application/json

application/json

curl -X GET "https://verity.backworkai.com/api/v1/codes/lookup?code=string"
{
  "success": true,
  "data": {
    "code": "string",
    "code_system": "CPT",
    "found": true,
    "description": "string",
    "short_description": "string",
    "category": "string",
    "betos_code": "string",
    "poa_exempt": true,
    "is_active": true,
    "rvu": {
      "work_rvu": "string",
      "pe_rvu_nonfacility": "string",
      "pe_rvu_facility": "string",
      "mp_rvu": "string",
      "total_rvu_nonfacility": "string",
      "total_rvu_facility": "string",
      "non_facility_price": "string",
      "facility_price": "string",
      "conversion_factor": "string",
      "global_days": "string",
      "status_code": "string",
      "year": 0
    },
    "policies": [
      {
        "policy_id": "string",
        "title": "string",
        "policy_type": "string",
        "disposition": "string",
        "jurisdiction": "string",
        "effective_date": "2019-08-24"
      }
    ],
    "suggestions": [
      {
        "code": "string",
        "code_system": "string",
        "description": "string",
        "score": 0,
        "match_type": "code"
      }
    ],
    "ndc_crosswalk": {
      "ndc": "string",
      "hcpcs_code": "string",
      "hcpcs_description": "string",
      "ndc_label": "string",
      "route": "string",
      "billing_units": "string",
      "conversion_factor": "string"
    }
  },
  "meta": {
    "request_id": "string",
    "timestamp": "2019-08-24T14:15:22Z",
    "includes": [
      "string"
    ],
    "fuzzy_enabled": true
  }
}
{
  "success": false,
  "error": {
    "code": "VALIDATION_ERROR",
    "message": "Request validation failed",
    "details": {
      "q": [
        "Search query is required"
      ]
    },
    "docUrl": "https://docs.verity.io/errors#validation-error"
  },
  "meta": {
    "request_id": "req_abc123",
    "timestamp": "2024-01-15T10:30:00Z"
  }
}
{
  "success": false,
  "error": {
    "code": "AUTH_KEY_NOT_FOUND",
    "message": "API key not found",
    "hint": "Check that your API key is correct",
    "docUrl": "https://docs.verity.io/errors#auth-key-not-found"
  },
  "meta": {
    "request_id": "req_abc123",
    "timestamp": "2024-01-15T10:30:00Z"
  }
}
{
  "success": false,
  "error": {
    "code": "RATE_LIMIT_EXCEEDED",
    "message": "Rate limit exceeded",
    "hint": "Upgrade to pay-as-you-go for higher limits",
    "docUrl": "https://docs.verity.io/errors#rate-limit-exceeded"
  },
  "meta": {
    "request_id": "req_abc123",
    "timestamp": "2024-01-15T10:30:00Z"
  }
}