FETCH402
← Protocol index

Resource / 225

healthy

2s.

Verify and search ICD-10-CM diagnosis codes against the official US code set (FY2026, ~98k entries). Pass code (with or without the dot, e.g. E11.9 or E119) to confirm the code exists and list its more-specific child codes, or q to keyword-search code descriptions (e.g. "type 2 diabetes neuropathy"). Optional billable_only=true restricts results to codes valid for claim submission; limit caps results (1-50, default 10). Returns a verified flag, the exact match if any, and matched codes with billable status plus short and long descriptions. Data: CMS/NCHS ICD-10-CM (public domain), refreshed each US fiscal year. Use to confirm diagnosis codes are real and current before placing them in claims, prior authorizations, or clinical documents.

Eligibility
probeable
Failures
0
Last quote
2026-08-12 22:00:01 UTC
Last probe
2026-08-12 22:00:01 UTC
Payment requirements / accepts[] 2 options
State Network Scheme Atomic amount Asset payTo / untrusted
active eip155:8453 exact 2500 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 0x2b6D4988Db4723E6908Db86Ab2b8dFBc51FC32C5
active solana:5eykt4usfv8p8njdtrepy1vzqkqzkvdp exact 2500 EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v TW6ntaGzvj63ZgPjszd4FCGmVTGfzv1MAYZbjYcyWhn

All advertised payment options are stored. Base (`eip155:8453`) is the operational network for ranking and canaries; non-Base options remain visible for transparency.

Probe evidence 1 recent
healthy 2026-08-12 22:00:01 UTC GET · HTTP 402 · 41ms · accepts 2 · base 1 ok
Request
GET https://2s.io/api/medical/icd10
Robots
allow
Note
http_402;accepts=2;base=1
Accepts fingerprint
6fcb2e53e8049ab29748ddd9a2e9ed532a49654f11ec569f4e7b9fb89b260a10

Accepts snapshot

[
  {
    "amount": "2500",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "assetTransferMethod": null,
    "extra": {
      "name": "USD Coin",
      "version": "2"
    },
    "maxTimeoutSeconds": 60,
    "network": "eip155:8453",
    "payTo": "0x2b6D4988Db4723E6908Db86Ab2b8dFBc51FC32C5",
    "paymentFlow": null,
    "raw": {
      "amount": "2500",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "extra": {
        "name": "USD Coin",
        "version": "2"
      },
      "maxTimeoutSeconds": 60,
      "max_timeout_seconds": 60,
      "network": "eip155:8453",
      "payTo": "0x2b6D4988Db4723E6908Db86Ab2b8dFBc51FC32C5",
      "pay_to": "0x2b6D4988Db4723E6908Db86Ab2b8dFBc51FC32C5",
      "scheme": "exact"
    },
    "scheme": "exact"
  },
  {
    "amount": "2500",
    "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
    "assetTransferMethod": null,
    "extra": {
      "feePayer": "Hc3sdEAsCGQcpgfivywog9uwtk8gUBUZgsxdME1EJy88",
      "name": "USDC",
      "version": "1"
    },
    "maxTimeoutSeconds": 60,
    "network": "solana:5eykt4usfv8p8njdtrepy1vzqkqzkvdp",
    "payTo": "TW6ntaGzvj63ZgPjszd4FCGmVTGfzv1MAYZbjYcyWhn",
    "paymentFlow": null,
    "raw": {
      "amount": "2500",
      "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
      "extra": {
        "feePayer": "Hc3sdEAsCGQcpgfivywog9uwtk8gUBUZgsxdME1EJy88",
        "name": "USDC",
        "version": "1"
      },
      "maxTimeoutSeconds": 60,
      "max_timeout_seconds": 60,
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "payTo": "TW6ntaGzvj63ZgPjszd4FCGmVTGfzv1MAYZbjYcyWhn",
      "pay_to": "TW6ntaGzvj63ZgPjszd4FCGmVTGfzv1MAYZbjYcyWhn",
      "scheme": "exact"
    },
    "scheme": "exact"
  }
]

PaymentRequired raw

{
  "accepts": [
    {
      "amount": "2500",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "extra": {
        "name": "USD Coin",
        "version": "2"
      },
      "maxTimeoutSeconds": 60,
      "network": "eip155:8453",
      "payTo": "0x2b6D4988Db4723E6908Db86Ab2b8dFBc51FC32C5",
      "scheme": "exact"
    },
    {
      "amount": "2500",
      "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
      "extra": {
        "feePayer": "Hc3sdEAsCGQcpgfivywog9uwtk8gUBUZgsxdME1EJy88",
        "name": "USDC",
        "version": "1"
      },
      "maxTimeoutSeconds": 60,
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "payTo": "TW6ntaGzvj63ZgPjszd4FCGmVTGfzv1MAYZbjYcyWhn",
      "scheme": "exact"
    }
  ],
  "error": "PAYMENT-SIGNATURE required",
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "method": "GET",
          "queryParams": {
            "billable_only": false,
            "code": "xxx",
            "limit": 1,
            "q": "xxx"
          },
          "type": "http"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "properties": {
              "method": {
                "const": "GET"
              },
              "queryParams": {
                "additionalProperties": false,
                "properties": {
                  "billable_only": {
                    "description": "When true, only return codes valid for claim submission (excludes category headers).",
                    "type": "boolean"
                  },
                  "code": {
                    "description": "ICD-10-CM code to verify, with or without the dot (e.g. E11.9 or E119). Returns the exact match plus more-specific child codes. Provide either code or q, not both.",
                    "maxLength": 9,
                    "minLength": 3,
                    "type": "string"
                  },
                  "limit": {
                    "description": "Maximum codes returned (1-50, default 10).",
                    "maximum": 50,
                    "minimum": 1,
                    "type": "integer"
                  },
                  "q": {
                    "description": "Keyword search over official code descriptions (e.g. \"type 2 diabetes neuropathy\"). Every word must match. Provide either code or q, not both.",
                    "maxLength": 120,
                    "minLength": 3,
                    "type": "string"
                  }
                },
                "type": "object"
              },
              "type": {
                "const": "http"
              }
            },
            "required": [
              "type",
              "method",
              "queryParams"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "resource": {
    "description": "Verify and search ICD-10-CM diagnosis codes against the official US code set (FY2026, ~98k entries). Pass code (with or without the dot, e.g. E11.9 or E119) to confirm the code exists and list its more-specific child codes, or q to keyword-search code descriptions (e.g. \"type 2 diabetes neuropathy\"). Optional billable_only=true restricts results to codes valid for claim submission; limit caps results (1-50, default 10). Returns a verified flag, the exact match if any, and matched codes with billable status plus short and long descriptions. Data: CMS/NCHS ICD-10-CM (public domain), refreshed each US fiscal year. Use to confirm diagnosis codes are real and current before placing them in claims, prior authorizations, or clinical documents.",
    "iconUrl": "https://2s.io/icon-512.png",
    "mimeType": "application/json",
    "serviceName": "2s",
    "tags": [
      "public-records",
      "identifiers",
      "ai-agents",
      "us-gov-data",
      "x402",
      "upto-billing",
      "ai-gateway",
      "agent-infrastructure"
    ],
    "url": "https://2s.io/api/medical/icd10"
  },
  "x402Version": 2
}

Response headers

{
  "access-control-allow-headers": "Authorization, Content-Type",
  "access-control-allow-methods": "GET, POST, OPTIONS",
  "access-control-allow-origin": "*",
  "access-control-max-age": "86400",
  "age": "0",
  "cache-control": "public, max-age=0, must-revalidate",
  "content-security-policy": "default-src 'none'; style-src 'self' 'unsafe-inline'; img-src 'self' data:; font-src 'self'; connect-src 'self'; frame-ancestors 'none'; base-uri 'none'",
  "content-type": "application/json",
  "date": "Wed, 12 Aug 2026 22:00:01 GMT",
  "payment-required": "eyJ4NDAyVmVyc2lvbiI6MiwiYWNjZXB0cyI6W3sic2NoZW1lIjoiZXhhY3QiLCJuZXR3b3JrIjoiZWlwMTU1Ojg0NTMiLCJhbW91bnQiOiIyNTAwIiwiYXNzZXQiOiIweDgzMzU4OWZDRDZlRGI2RTA4ZjRjN0MzMkQ0ZjcxYjU0YmRBMDI5MTMiLCJwYXlUbyI6IjB4MmI2RDQ5ODhEYjQ3MjNFNjkwOERiODZBYjJiOGRGQmM1MUZDMzJDNSIsIm1heFRpbWVvdXRTZWNvbmRzIjo2MCwiZXh0cmEiOnsibmFtZSI6IlVTRCBDb2luIiwidmVyc2lvbiI6IjIifX0seyJzY2hlbWUiOiJleGFjdCIsIm5ldHdvcmsiOiJzb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bHQgMTApLiJ9fSwiYWRkaXRpb25hbFByb3BlcnRpZXMiOmZhbHNlfX0sInJlcXVpcmVkIjpbInR5cGUiLCJtZXRob2QiLCJxdWVyeVBhcmFtcyJdfX0sInJlcXVpcmVkIjpbImlucHV0Il19fX19",
  "permissions-policy": "geolocation=(), camera=(), microphone=()",
  "referrer-policy": "no-referrer",
  "server": "Vercel",
  "strict-transport-security": "max-age=63072000; includeSubDomains; preload",
  "transfer-encoding": "chunked",
  "x-content-type-options": "nosniff",
  "x-frame-options": "DENY",
  "x-matched-path": "/api/medical/icd10",
  "x-payment-requirements": "x402",
  "x-vercel-cache": "MISS",
  "x-vercel-id": "iad1::iad1::qzpxw-1786572001677-cdf83cb4fd09"
}

Response body

{
  "accepts": [
    {
      "amount": "2500",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "extra": {
        "name": "USD Coin",
        "version": "2"
      },
      "maxTimeoutSeconds": 60,
      "network": "eip155:8453",
      "payTo": "0x2b6D4988Db4723E6908Db86Ab2b8dFBc51FC32C5",
      "scheme": "exact"
    },
    {
      "amount": "2500",
      "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
      "extra": {
        "feePayer": "Hc3sdEAsCGQcpgfivywog9uwtk8gUBUZgsxdME1EJy88",
        "name": "USDC",
        "version": "1"
      },
      "maxTimeoutSeconds": 60,
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "payTo": "TW6ntaGzvj63ZgPjszd4FCGmVTGfzv1MAYZbjYcyWhn",
      "scheme": "exact"
    }
  ],
  "error": "PAYMENT-SIGNATURE required",
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "method": "GET",
          "queryParams": {
            "billable_only": false,
            "code": "xxx",
            "limit": 1,
            "q": "xxx"
          },
          "type": "http"
        },
        "output": {
          "example": {
            "items": [
              {
                "billable": false,
                "code": "example",
                "codeDotted": "example",
                "longDescription": "example",
                "shortDescription": "example"
              }
            ],
            "meta": {
              "exactMatch": {
                "billable": false,
                "code": "example",
                "codeDotted": "example",
                "longDescription": "example",
                "shortDescription": "example"
              },
              "fiscalYear": 1,
              "mode": "verify",
              "query": {
                "billableOnly": false,
                "code": "example",
                "limit": 1,
                "q": "example"
              },
              "verified": false
            },
            "ok": true,
            "source": {
              "license": "example",
              "provider": "example",
              "url": "example"
            },
            "total": 1
          },
          "schema": {
            "additionalProperties": false,
            "properties": {
              "items": {
                "items": {
                  "additionalProperties": false,
                  "properties": {
                    "billable": {
                      "description": "True when valid for claim submission (leaf code); false for category headers.",
                      "type": "boolean"
                    },
                    "code": {
                      "description": "Storage form without the dot, e.g. E119.",
                      "type": "string"
                    },
                    "codeDotted": {
                      "description": "Conventional display form, e.g. E11.9.",
                      "type": "string"
                    },
                    "longDescription": {
                      "type": "string"
                    },
                    "shortDescription": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "code",
                    "codeDotted",
                    "billable",
                    "shortDescription",
                    "longDescription"
                  ],
                  "type": "object"
                },
                "type": "array"
              },
              "meta": {
                "additionalProperties": false,
                "properties": {
                  "exactMatch": {
                    "additionalProperties": false,
                    "description": "The exact code when verified, else null.",
                    "nullable": true,
                    "properties": {
                      "billable": {
                        "description": "True when valid for claim submission (leaf code); false for category headers.",
                        "type": "boolean"
                      },
                      "code": {
                        "description": "Storage form without the dot, e.g. E119.",
                        "type": "string"
                      },
                      "codeDotted": {
                        "description": "Conventional display form, e.g. E11.9.",
                        "type": "string"
                      },
                      "longDescription": {
                        "type": "string"
                      },
                      "shortDescription": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "code",
                      "codeDotted",
                      "billable",
                      "shortDescription",
                      "longDescription"
                    ],
                    "type": "object"
                  },
                  "fiscalYear": {
                    "description": "US fiscal year of the loaded code set.",
                    "type": "integer"
                  },
                  "mode": {
                    "description": "verify = code lookup; keyword = q search.",
                    "enum": [
                      "verify",
                      "keyword"
                    ],
                    "type": "string"
                  },
                  "query": {
                    "additionalProperties": false,
                    "properties": {
                      "billableOnly": {
                        "type": "boolean"
                      },
                      "code": {
                        "nullable": true,
                        "type": "string"
                      },
                      "limit": {
                        "type": "integer"
                      },
                      "q": {
                        "nullable": true,
                        "type": "string"
                      }
                    },
                    "required": [
                      "code",
                      "q",
                      "billableOnly",
                      "limit"
                    ],
                    "type": "object"
                  },
                  "verified": {
                    "description": "Verify mode: true iff the exact code exists in the official set. null in keyword mode.",
                    "nullable": true,
                    "type": "boolean"
                  }
                },
                "required": [
                  "mode",
                  "query",
                  "verified",
                  "exactMatch",
                  "fiscalYear"
                ],
                "type": "object"
              },
              "ok": {
                "enum": [
                  true
                ],
                "type": "boolean"
              },
              "source": {
                "additionalProperties": false,
                "properties": {
                  "license": {
                    "type": "string"
                  },
                  "provider": {
                    "type": "string"
                  },
                  "url": {
                    "type": "string"
                  }
                },
                "required": [
                  "provider",
                  "url",
                  "license"
                ],
                "type": "object"
              },
              "total": {
                "description": "Total matching rows upstream; null when unknown.",
                "nullable": true,
                "type": "integer"
              }
            },
            "required": [
              "ok",
              "items",
              "total",
              "source"
            ],
            "type": "object"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "properties": {
              "method": {
                "const": "GET"
              },
              "queryParams": {
                "additionalProperties": false,
                "properties": {
                  "billable_only": {
                    "description": "When true, only return codes valid for claim submission (excludes category headers).",
                    "type": "boolean"
                  },
                  "code": {
                    "description": "ICD-10-CM code to verify, with or without the dot (e.g. E11.9 or E119). Returns the exact match plus more-specific child codes. Provide either code or q, not both.",
                    "maxLength": 9,
                    "minLength": 3,
                    "type": "string"
                  },
                  "limit": {
                    "description": "Maximum codes returned (1-50, default 10).",
                    "maximum": 50,
                    "minimum": 1,
                    "type": "integer"
                  },
                  "q": {
                    "description": "Keyword search over official code descriptions (e.g. \"type 2 diabetes neuropathy\"). Every word must match. Provide either code or q, not both.",
                    "maxLength": 120,
                    "minLength": 3,
                    "type": "string"
                  }
                },
                "type": "object"
              },
              "type": {
                "const": "http"
              }
            },
            "required": [
              "type",
              "method",
              "queryParams"
            ],
            "type": "object"
          },
          "output": {
            "additionalProperties": false,
            "properties": {
              "items": {
                "items": {
                  "additionalProperties": false,
                  "properties": {
                    "billable": {
                      "description": "True when valid for claim submission (leaf code); false for category headers.",
                      "type": "boolean"
                    },
                    "code": {
                      "description": "Storage form without the dot, e.g. E119.",
                      "type": "string"
                    },
                    "codeDotted": {
                      "description": "Conventional display form, e.g. E11.9.",
                      "type": "string"
                    },
                    "longDescription": {
                      "type": "string"
                    },
                    "shortDescription": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "code",
                    "codeDotted",
                    "billable",
                    "shortDescription",
                    "longDescription"
                  ],
                  "type": "object"
                },
                "type": "array"
              },
              "meta": {
                "additionalProperties": false,
                "properties": {
                  "exactMatch": {
                    "additionalProperties": false,
                    "description": "The exact code when verified, else null.",
                    "nullable": true,
                    "properties": {
                      "billable": {
                        "description": "True when valid for claim submission (leaf code); false for category headers.",
                        "type": "boolean"
                      },
                      "code": {
                        "description": "Storage form without the dot, e.g. E119.",
                        "type": "string"
                      },
                      "codeDotted": {
                        "description": "Conventional display form, e.g. E11.9.",
                        "type": "string"
                      },
                      "longDescription": {
                        "type": "string"
                      },
                      "shortDescription": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "code",
                      "codeDotted",
                      "billable",
                      "shortDescription",
                      "longDescription"
                    ],
                    "type": "object"
                  },
                  "fiscalYear": {
                    "description": "US fiscal year of the loaded code set.",
                    "type": "integer"
                  },
                  "mode": {
                    "description": "verify = code lookup; keyword = q search.",
                    "enum": [
                      "verify",
                      "keyword"
                    ],
                    "type": "string"
                  },
                  "query": {
                    "additionalProperties": false,
                    "properties": {
                      "billableOnly": {
                        "type": "boolean"
                      },
                      "code": {
                        "nullable": true,
                        "type": "string"
                      },
                      "limit": {
                        "type": "integer"
                      },
                      "q": {
                        "nullable": true,
                        "type": "string"
                      }
                    },
                    "required": [
                      "code",
                      "q",
                      "billableOnly",
                      "limit"
                    ],
                    "type": "object"
                  },
                  "verified": {
                    "description": "Verify mode: true iff the exact code exists in the official set. null in keyword mode.",
                    "nullable": true,
                    "type": "boolean"
                  }
                },
                "required": [
                  "mode",
                  "query",
                  "verified",
                  "exactMatch",
                  "fiscalYear"
                ],
                "type": "object"
              },
              "ok": {
                "enum": [
                  true
                ],
                "type": "boolean"
              },
              "source": {
                "additionalProperties": false,
                "properties": {
                  "license": {
                    "type": "string"
                  },
                  "provider": {
                    "type": "string"
                  },
                  "url": {
                    "type": "string"
                  }
                },
                "required": [
                  "provider",
                  "url",
                  "license"
                ],
                "type": "object"
              },
              "total": {
                "description": "Total matching rows upstream; null when unknown.",
                "nullable": true,
                "type": "integer"
              }
            },
            "required": [
              "ok",
              "items",
              "total",
              "source"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "resource": {
    "description": "Verify and search ICD-10-CM diagnosis codes against the official US code set (FY2026, ~98k entries). Pass code (with or without the dot, e.g. E11.9 or E119) to confirm the code exists and list its more-specific child codes, or q to keyword-search code descriptions (e.g. \"type 2 diabetes neuropathy\"). Optional billable_only=true restricts results to codes valid for claim submission; limit caps results (1-50, default 10). Returns a verified flag, the exact match if any, and matched codes with billable status plus short and long descriptions. Data: CMS/NCHS ICD-10-CM (public domain), refreshed each US fiscal year. Use to confirm diagnosis codes are real and current before placing them in claims, prior authorizations, or clinical documents.",
    "iconUrl": "https://2s.io/icon-512.png",
    "mimeType": "application/json",
    "serviceName": "2s",
    "tags": [
      "public-records",
      "identifiers",
      "ai-agents",
      "us-gov-data",
      "x402",
      "upto-billing",
      "ai-gateway",
      "agent-infrastructure"
    ],
    "url": "https://2s.io/api/medical/icd10"
  },
  "x402Version": 2
}

Request headers

{
  "accept": "*/*",
  "user-agent": "Fetch402Bot/0.1 (+https://fetch402.com/crawler; contact: crawler@fetch402.com)"
}

Machine contract

Schemas.

InputJSON
{
  "method": "GET",
  "queryParams": {
    "billable_only": false,
    "code": "xxx",
    "limit": 1,
    "q": "xxx"
  },
  "type": "http"
}
OutputJSON
{}