# Agent Weather Model Identity Lookup

> Agent Weather Model Identity Lookup is a paid API for AI agents from api.agentweather.io, paid per call via x402, $0.003/call, status unknown (last checked 2026-10-19).

Retrieves canonical identity metadata for a specific AI model from models.dev, including model ID mapping, knowledge cutoff, context/output limits, and recorded change events.

## Facts

- Endpoint: GET https://api.agentweather.io/v1/models/identity/:provider/:model?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-19
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agent-weather-model-identity-lookup-55043cd1
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_et3Vr-br6Os5827zkUrwy

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability agent-weather-model-identity-lookup-55043cd1
```

Example prompt: What are the canonical model ID, knowledge cutoff, and context window limits for Anthropic's claude-sonnet-4-5 according to Agent Weather?

## When to prefer this

Choose this endpoint when you need structured, normalized identity metadata for a specific AI model — especially canonical model ID resolution, knowledge cutoff, and token limits — sourced from models.dev. Prefer it over scraping provider documentation directly when you want a single cheap ($0.003 USDC) machine-readable snapshot with change history. Use it when building agent pipelines that need to validate or route based on model capabilities before making provider API calls.

## Known failure modes

- Unknown provider or model key returns 404 or empty result
- Stale data if models.dev has not been recently crawled
- Payment failure (x402) if USDC balance is insufficient or payment header is missing
- Malformed path parameters (e.g. incorrect provider/model key format) return validation error
- Model exists on provider but not yet indexed in models.dev returns no data

## How this service works

Model identity readings for one models.dev entry (GET /v1/models/identity/{provider}/{model}, ids as models.dev keys them, e.g. /v1/models/identity/anthropic/claude-sonnet-4-5): the id models.dev maps it to (canonical_model_id), knowledge cutoff, context and output limits, and recorded change event…

## Output

Returns a structured model identity reading including: the canonical_model_id as mapped by models.dev, knowledge cutoff date, context window and output token limits, a timestamp of when the reading was observed, recorded change events for the model, attribution metadata, and optional inferred fields and notes.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "pathParams": {
     "type": "object",
     "properties": {
      "model": {
       "type": "string",
       "description": "models.dev model key under that provider, e.g. claude-sonnet-4-5 (may contain /)"
      },
      "provider": {
       "type": "string",
       "description": "models.dev provider key, e.g. anthropic"
      }
     }
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "provider": {
       "type": "string",
       "description": "list one provider's entries (bare /v1/models/identity only)"
      }
     },
     "additionalProperties": false
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "schema",
      "id",
      "observed_at",
      "reading",
      "changes",
      "attribution"
     ],
     "properties": {
      "id": {
       "type": "string"
      },
      "notes": {
       "type": "array"
      },
      "schema": {
       "type": "string"
      },
      "changes": {
       "type": "object"
      },
      "reading": {
       "type": "object"
      },
      "inferred": {
       "type": "object"
      },
      "attribution": {
       "type": "object"
      },
      "observed_at": {
       "type": "string",
       "format": "date-time"
      }
     },
     "additionalProperties": true
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agent-weather-model-identity-lookup-55043cd1/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.agentweather.io](https://www.zero.xyz/host/api.agentweather.io/llms.txt)
