Name records lookup
POST /api/name-recordsLook up what public sources record for a name: a character, meme, logo, artwork, brand or work.
Details
Returns the best-matching Wikidata items with their recorded creator, author, designer, publisher, production company, manufacturer, inception, publication date, first appearance, based-on and named-after statements; each item's US trademark serial numbers as Wikidata records them, with a link to each USPTO record page, where the owner, status and classes are shown; and the Wikimedia Commons file page of the item's image with its author, license and restriction tags as that file page records them. Pass an image (base64 or a data URL, up to 4 MB) to find the Commons file with the same SHA-1: byte-identical files only. Every record carries its source link and read time, and a fixed field states that the answer lists records and makes no determination of ownership or permitted use. Up to 5 items per call; a capped list says so in fields. Keyless: Wikidata (CC0) and Wikimedia Commons.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
name | string | yes | The name to look up: a character, meme, logo, artwork, brand or work. Up to 200 characters. The example sends BeBox. |
limit | integer (1-5) | no | Wikidata items to return, best match first (default 3, at most 5). From 1 to 5. |
image | string | no | Optional image as base64 or a data URL (up to 4 MB decoded), matched against Commons by SHA-1: byte-identical files only. |
Example request
curl -i -X POST https://agent402.tools/api/name-records \
-H "Content-Type: application/json" \
-d '{"name":"BeBox"}'Watch a call get paid
POST /api/name-records$0.005 USDCPAYMENT-SIGNATUREon 14 chains200 OKAgent402-ReceiptEd25519Example response
{
"query": "BeBox",
"found": true,
"items": [
{
"id": "Q812806",
"label": "BeBox",
"description": "Personal computer sold by Be Inc.",
"url": "https://www.wikidata.org/wiki/Q812806",
"recordedOnWikidata": {
"creator": [
{
"id": "Q1254581",
"label": "Jean-Louis Gassée"
},
{
"id": "Q7613836",
"label": "Steve Sakoman"
}
],
"manufacturer": [
{
"id": "Q791615",
"label": "Be Inc."
}
]
},
"trademarkSerialNumbers": [
{
"serialNumber": "75054089",
"recordedOn": "wikidata.org",
"usptoRecordUrl": "https://tsdr.uspto.gov/#caseNumber=75054089&caseSearchType=US_APPLICATION&caseType=DEFAULT&searchType=statusSearch",
"trademarkDetails": "linked"
}
],
"image": {
"file": "Bebox Face.jpg",
"fromProperty": "P18 image"
},
"commonsFile": {
"file": "File:Bebox Face.jpg",
"url": "https://commons.wikimedia.org/wiki/File:Bebox_Face.jpg",
"recordedOnFilePage": {
"author": "Josh Carlson",
"license": "CC BY 2.0",
"licenseUrl": "https://creativecommons.org/licenses/by/2.0",
"restrictions": []
},
"source": "commons.wikimedia.org",
"readAt": "2026-11-27T20:20:00.000Z"
},
"source": "wikidata.org",
"readAt": "2026-11-27T20:20:00.000Z"
}
],
"returned": 1,
"matched": 1,
"complete": true,
"truncated": false,
"scope": "This answer lists what Wikidata and Wikimedia Commons record for this name, with links to the USPTO record pages Wikidata names, each with its source link and read time. It makes no determination of ownership or of permitted use.",
"sources": [
{
"name": "Wikidata",
"url": "https://www.wikidata.org",
"dataLicense": "CC0 1.0"
},
{
"name": "Wikimedia Commons",
"url": "https://commons.wikimedia.org",
"fileLicenses": "each file's license line as recorded on its file page"
}
],
"usptoCredit": "Source: United States Patent and Trademark Office, www.uspto.gov",
"affiliation": "Not affiliated with or endorsed by the Wikimedia Foundation or the United States Patent and Trademark Office."
}| Field | Type | Always present | In the example |
|---|---|---|---|
query | string | yes | BeBox |
found | boolean | yes | true |
items | array of objects | yes | 1 item in the example |
returned | number | yes | 1 |
matched | number | yes | 1 |
complete | boolean | yes | true |
truncated | boolean | yes | false |
scope | string | yes | This answer lists what Wikidata and Wikimedia Commons record for this name, w... |
sources | array of objects | yes | 2 items in the example |
usptoCredit | string | yes | Source: United States Patent and Trademark Office, www.uspto.gov |
affiliation | string | yes | Not affiliated with or endorsed by the Wikimedia Foundation or the United Sta... |
From an MCP client
catalog.call {
"slug": "name-records",
"params": {
"name": "BeBox"
}
}Hosted connector (https://agent402.tools/mcp): paid in the call. Stdio package (npx -y agent402-mcp@0.17.2): pays from a wallet or an AGENT402_CREDITS_KEY issued earlier.
Errors and behavior
- Pay $0.005 per call over x402 or MPP. Wallet-only: this tool reaches the network or stored state, so it has no proof-of-work tier. A card-credits key issued earlier (
Authorization: Bearer a402_...) also pays it. - Required:
name; a rejected input answers 4xx witherror,tool,expected,requiredandexample. - On this route, a call ending in any status of 400 or above is not charged over x402, MPP or a credits key. A Tempo push credential pays before the call; a failure is a refund owed.
- A bodyless
GETorHEADreturns the same 402 quote. - An
Idempotency-Keyreplays the first 200 uncharged (an answer larger than 1 MB is not replayed).
Paid call (JavaScript agent)
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { registerExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";
const client = new x402Client();
client.setSpendControls?.({ maxAmountPerPayment: "$0.005" }); // refuse any quote above this tool's price
registerExactEvmScheme(client, { signer: privateKeyToAccount(process.env.AGENT_KEY) });
const payFetch = wrapFetchWithPayment(fetch, client);
const res = await payFetch("https://agent402.tools/api/name-records", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({
"name": "BeBox"
}),
});Get a wallet or run npx -y agent402-mcp@0.17.2 wallet new.
The quote (Python)
import base64, json, urllib.error, urllib.request
req = urllib.request.Request("https://agent402.tools/api/name-records", method="POST", data="{\"name\":\"BeBox\"}".encode(), headers={"Content-Type": "application/json"})
try:
urllib.request.urlopen(req)
except urllib.error.HTTPError as e:
quote = json.loads(base64.b64decode(e.headers["PAYMENT-REQUIRED"]))
print(e.code, [(a["network"], a["amount"]) for a in quote["accepts"]]) # the price, per chain, in base units