# Anansi Data Latest State Engine

> Anansi Data Latest State Engine is a paid API for AI agents from anansidata.xyz, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-13).

Returns the current (latest) value of every tracked key in a specified dataset, with optional narrowing to a single key.

## Facts

- Endpoint: POST https://anansidata.xyz/paid/data/latest
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/anansi-data-latest-state-engine-12170c9a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_dDfRrJT9WP2aV4YZLePQ5

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 anansi-data-latest-state-engine-12170c9a -d '<json body>'
```

Example prompt: Pull the latest state of all tracked keys in the 'llm-pricing' dataset from Anansi — or if you only need one, narrow it down to the 'gpt-4o' key.

## When to prefer this

Use this endpoint when you need the current, point-in-time state of tracked keys in a dataset rather than historical records or change logs. It is ideal for polling the latest value of a known key, or snapshotting the full current state of a dataset for downstream processing. Prefer this over alternatives when you need a cheap ($0.01 per call), lightweight read of structured key-value data maintained by Anansi's exclusive data engine.

## Known failure modes

- Missing or invalid 'dataset' parameter returns an error — use GET /datasets to find valid dataset names
- Specifying a 'key' that does not exist in the dataset may return empty or null results
- Payment failure (x402 protocol) results in a 402 response before data is returned
- Network or upstream data engine unavailability returns a 5xx error

## How this service works

Exclusive data engine: current state of every tracked key in a dataset.

## Output

A JSON object containing the current state of all tracked keys in the specified dataset (or a single key if the optional 'key' query parameter is provided), reflecting the most recently recorded values.

## 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",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "key": {
       "type": "string",
       "description": "Optional. One key to narrow to; omit for every key."
      },
      "dataset": {
       "type": "string",
       "description": "Exact dataset name; list them free at GET /datasets."
      }
     }
    }
   }
  },
  "output": {
   "type": "object"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/anansi-data-latest-state-engine-12170c9a/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from anansidata.xyz](https://www.zero.xyz/host/anansidata.xyz/llms.txt)
