# LION Credits Purchase (x402)

> LION Credits Purchase (x402) is a paid API for AI agents from lionx402.com, paid per call via x402, $0.1/call, status unknown (last checked 2026-09-13).

Purchases a USDC-denominated credit balance and returns a session token for use with LION's pay-per-field data enrichment API

## Facts

- Endpoint: POST https://lionx402.com/api/x402/credits-purchase-json
- Price: $0.1/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/lion-credits-purchase-x402-7c3fc31a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_pa11THi-XtxNTSlWSXozB

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 lion-credits-purchase-x402-7c3fc31a -d '<json body>'
```

Example prompt: I want to start using the LION enrichment API — can you purchase 0.1 USDC worth of credits on Base so I get a session token I can use to look up company firmographics?

## When to prefer this

Use this endpoint as the first step before calling any LION enrichment endpoint. It is the credit-purchase and session-initialization step — required when you have no active session token or your credit balance is exhausted. Prefer this over alternatives when you want keyless (no API key), pay-per-use USDC access to company firmographics, SEC financials, or CPG/retail data enrichment.

## Known failure modes

- Insufficient USDC balance in the paying wallet — payment rejected
- Invalid or missing x402 payment header — 402 Payment Required response
- Blockchain transaction confirmation timeout — session token not issued
- Incorrect payment amount — balance not credited
- Base network congestion causing delayed confirmation

## How this service works

Keyless x402 on Base USDC for AI agents: cheapest OFAC wallet screen ($0.001), multi-list sanctions + signed compliance receipt, company research/org enrich from $0.03, verified company file $0.95. Live Wikidata+SEC+DNS+GLEIF. Ed25519-attested. No API key. People enrichment elsewhere; companies + counterparty proof on LION. npx agentcash add https://lionx402.com

## Output

Returns a JSON object with an asset_id (e.g. CREDITS_PURCHASE_001), a balance in micro-units (e.g. 100000 = $0.10 USDC), and a session_token (prefixed lct_...) that can be passed to subsequent LION enrichment endpoint calls to authorize pay-per-field queries.

## 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": [
      "POST"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "pack": {
       "type": "string",
       "description": "USD pack size e.g. 0.10"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "service": "LION Verified Company",
  "asset_id": "LION",
  "resolved": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/lion-credits-purchase-x402-7c3fc31a/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from lionx402.com](https://www.zero.xyz/host/lionx402.com/llms.txt)
