# Tollmint Legal Messaging Data Endpoint

> Tollmint Legal Messaging Data Endpoint is a paid API for AI agents from api.tollmint.com, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-10).

Provides legal messaging data or analysis via a pay-per-call API that accepts micropayment in the same request, requiring no account or prior setup.

## Facts

- Endpoint: POST https://api.tollmint.com/v1/legal/messaging?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-10
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/tollmint-legal-messaging-data-endpoint-0a117412
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_1E5pMxMwoNx3JfC5BwVcD

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 tollmint-legal-messaging-data-endpoint-0a117412 -d '<json body>'
```

Example prompt: Pull the legal messaging data from Tollmint for my query — pay the $0.005 USDC fee automatically per call, no account needed.

## When to prefer this

Choose this endpoint when an autonomous agent needs legal messaging data or analysis on a pay-per-call basis with no prior account creation, invoicing, or human approval step. It is especially suitable for agent workflows requiring infrequent or unpredictable access to legal messaging content where a subscription would be wasteful. Prefer this over traditional legal data APIs when the agent can handle inline USDC micropayments via the x402 protocol.

## Known failure modes

- Payment insufficient or rejected — request fails if USDC micropayment is not included or is below $0.005
- Malformed request body — endpoint returns an error if required POST fields are missing or invalid
- Service unavailable — API may be temporarily unreachable, resulting in a timeout or 5xx error
- Empty response schema — the example response is an empty object, so actual fields may be undocumented and unpredictable
- Rate limiting or payment processing failure — stale or duplicate payment tokens may be rejected

## How this service works

An API that quotes its own price and takes payment in the same request. Built for autonomous agents: no account, no invoice, no human in the loop.

## Output

A JSON object containing legal messaging data or analysis results relevant to the submitted query, returned immediately after the micropayment is processed in the same request.

## 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": {
    "body": {
     "type": "object",
     "$schema": "http://json-schema.org/draft-07/schema#",
     "properties": {
      "limit": {
       "type": "integer",
       "default": 50,
       "maximum": 200,
       "minimum": 1
      },
      "search": {
       "type": "string",
       "maxLength": 200,
       "description": "Free-text over summary, instrument and detail."
      },
      "status": {
       "enum": [
        "in-force",
        "enacted-not-yet-in-force",
        "proposed",
        "vacated",
        "superseded",
        "unknown"
       ],
       "type": "string",
       "description": "Filter to one lifecycle state."
      },
      "dead_only": {
       "type": "boolean",
       "default": false,
       "description": "Return only rules that are NOT live law — vacated, superseded, or still proposed. These are the rules most often wrongly believed to be in force."
      },
      "jurisdiction": {
       "type": "string",
       "maxLength": 40,
       "description": "Substring match, e.g. \"EU\", \"UK\", \"US-federal\", \"California\", \"Germany\"."
      },
      "verified_only": {
       "type": "boolean",
       "default": false,
       "description": "Only rows whose source URL resolved when last checked. Off by default: many primary sources (courts, national gazettes) block automated checkers, so \"blocked\" is not \"bad\"."
      }
     },
     "additionalProperties": false
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "type": "string",
     "const": "POST"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "json"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {}
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/tollmint-legal-messaging-data-endpoint-0a117412/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.tollmint.com](https://www.zero.xyz/host/api.tollmint.com/llms.txt)
