Identity & Enrichment · x402
Lichess user profile snapshot: ratings per perf, country, title, online status, counts
Lichess user profile snapshot: ratings per perf, country, title, online status, counts.
by chess402.vercel.app · discovered, not yet claimed by its owner · updated 2026-09-25
Mirrored from Coinbase's public x402 Bazaar. The description is the provider's own text and has not been reviewed here; the payment requirements are copied as published.
What it does
Lichess user profile snapshot: ratings per perf, country, title, online status, counts.
Tags: bazaar
Use with an agent
- Discover. Agents find this listing with
GET https://bazaar.saylorinnovations.com/discovery/search?query=…, the MCP toolsearch_resources, or/discovery/resources. - Inspect. Fetch
/resources/55094.jsonfor the price and payment options. - Pay. Call
GET https://chess402.vercel.app/api/user. The provider answers402with its payment requirements. An x402 client signs one of the options below and retries withPAYMENT-SIGNATURE. - Execute. The provider returns
200with the data. Agent Bazaar is not in the request path and never sees your payment.
For humans
You don't need an account or an API key; you need a wallet holding a small amount of USDC on Base, and an x402-capable client (see the examples below). Call the endpoint unpaid first to see exactly what it asks for.
Pricing & payment
- Price
- $0.001 / request
- Protocol
- x402 v2
- Auth
- No account or API key. Pay per request.
- Networks
- Base
- Calls (30d)
- 1 · 1 unique payers (third-party data from the public x402 Bazaar)
x402 payment requirements
| Scheme | Network | Asset | Amount | Pay to | Timeout |
|---|---|---|---|---|---|
| exact | Base eip155:8453 | USDC | $0.001 | 0xfbd46201267609ad3c66bd1b99b7f1cc80b1852f | 300s |
accepts[] (raw JSON)
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0xfbd46201267609ad3c66bd1b99b7f1cc80b1852f",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "1000",
"amountUsd": 0.001,
"maxTimeoutSeconds": 300
}
]Schemas
Output schema (JSON Schema)
{
"properties": {
"example": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": {},
"description": "Lichess user profile snapshot.",
"properties": {
"count": {
"additionalProperties": {},
"description": "Game count breakdown.",
"properties": {
"all": {
"description": "Total games.",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"type": "integer"
},
"bookmark": {
"description": "Bookmarked games.",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"type": "integer"
},
"draw": {
"description": "Draws.",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"type": "integer"
},
"import": {
"description": "Imported games.",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"type": "integer"
},
"loss": {
"description": "Losses.",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"type": "integer"
},
"rated": {
"description": "Rated games.",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"type": "integer"
},
"win": {
"description": "Wins.",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"type": "integer"
}
},
"required": [
"all",
"rated",
"win",
"loss",
"draw"
],
"type": "object"
},
"createdAt": {
"description": "Account creation timestamp (ms epoch).",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"type": "integer"
},
"flair": {
"description": "User flair emoji slug.",
"type": "string"
},
"id": {
"description": "Lowercase Lichess user id.",
"type": "string"
},
"online": {
"description": "Whether the user is online now.",
"type": "boolean"
},
"patron": {
"description": "Whether the user is a Lichess patron.",
"type": "boolean"
},
"perfs": {
"additionalProperties": {
"additionalProperties": {},
"properties": {
"games": {
"description": "Total games played.",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"type": "integer"
},
"prog": {
"description": "Rating progression (last 12 games).",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"type": "integer"
},
"prov": {
"description": "Whether the rating is provisional.",
"type": "boolean"
},
"rating": {
"description": "Current rating.",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"type": "integer"
},
"rd": {
"description": "Rating deviation.",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"type": "integer"
}
},
"required": [
"games",
"rating"
],
"type": "object"
},
"description": "Per-variant performance objects keyed by perf name (bullet, blitz, rapid, classical, puzzle, …).",
"propertyNames": {
"type": "string"
},
"type": "object"
},
"playTime": {
"additionalProperties": false,
"description": "Cumulative play time.",
"properties": {
"total": {
"description": "Total seconds played on Lichess.",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"type": "integer"
},
"tv": {
"description": "Seconds streamed on Lichess TV.",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"type": "integer"
}
},
"required": [
"total",
"tv"
],
"type": "object"
},
"profile": {
"additionalProperties": {},
"description": "Free-form profile fields set by the user.",
"properties": {
"bio": {
"description": "User biography.",
"type": "string"
},
"firstName": {
"type": "string"
},
"flag": {
"description": "ISO 3166-1 alpha-2 country code.",
"type": "string"
},
"lastName": {
"type": "string"
},
"links": {
"description": "User-provided links.",
"type": "string"
}
},
"type": "object"
},
"seenAt": {
"description": "Last activity timestamp (ms epoch).",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"type": "integer"
},
"title": {
"description": "FIDE title (GM, IM, FM, ...), if any.",
"type": "string"
},
"url": {
"description": "Lichess profile URL.",
"type": "string"
},
"username": {
"description": "Display username.",
"type": "string"
}
},
"required": [
"id",
"username"
],
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}Example shape — generated from the schema, not a captured live response
{
"example": {
"count": {
"all": 0,
"bookmark": 0,
"draw": 0,
"import": 0,
"loss": 0,
"rated": 0,
"win": 0
},
"createdAt": 0,
"flair": "string",
"id": "string",
"online": true,
"patron": true,
"perfs": {},
"playTime": {
"total": 0,
"tv": 0
},
"profile": {
"bio": "string",
"firstName": "string",
"flag": "string",
"lastName": "string",
"links": "string"
},
"seenAt": 0,
"title": "string",
"url": "string",
"username": "string"
},
"type": "string"
}Examples
curl
curl "https://chess402.vercel.app/api/user"
# -> 402 Payment Required, accepts[] lists how to pay
# retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paidJavaScript
const res = await fetch("https://chess402.vercel.app/api/user");
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}Python
import httpx
res = httpx.get("https://chess402.vercel.app/api/user")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerDetails
- Provider
- chess402.vercel.app
- Endpoint
- https://chess402.vercel.app/api/user
- Machine-readable
/resources/55094.json