format_version: 1
name: anthropic
display_name: Anthropic
tier: 1
last_verified: "2026-04-05"
keywords:
  - "sk-ant-api03-"
  - "sk-ant-admin01-"
  - "anthropic"
patterns:
  - regex: 'sk-ant-api03-[A-Za-z0-9_\-]{93}AA'
    entropy_min: 3.5
    confidence: high
  - regex: 'sk-ant-admin01-[A-Za-z0-9_\-]{93}AA'
    entropy_min: 3.5
    confidence: high
verify:
  method: POST
  url: https://api.anthropic.com/v1/messages
  headers:
    x-api-key: "{{KEY}}"
    anthropic-version: "2023-06-01"
    content-type: "application/json"
  body: '{"model":"claude-haiku-4-5","max_tokens":1,"messages":[{"role":"user","content":"hi"}]}'
  success_codes: [200]
  failure_codes: [401, 403]
  rate_limit_codes: [429, 529]
  metadata_paths:
    model: "model"
    stop_reason: "stop_reason"
