Skip to content

Name records lookup

$0.005 per callUSDC via x402POST /api/name-records

Look up what public sources record for a name: a character, meme, logo, artwork, brand or work.

Category: Live public dataTags: data wikidata commons trademark creator records attribution

Try in playground →

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

NameTypeRequiredDescription
namestringyesThe name to look up: a character, meme, logo, artwork, brand or work. Up to 200 characters. The example sends BeBox.
limitinteger (1-5)noWikidata items to return, best match first (default 3, at most 5). From 1 to 5.
imagestringnoOptional 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

RequestPOST /api/name-records
402$0.005 USDC
SignPAYMENT-SIGNATURE
Settleon 14 chains
Answer200 OK
ReceiptAgent402-ReceiptEd25519

Example 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."
}
FieldTypeAlways presentIn the example
querystringyesBeBox
foundbooleanyestrue
itemsarray of objectsyes1 item in the example
returnednumberyes1
matchednumberyes1
completebooleanyestrue
truncatedbooleanyesfalse
scopestringyesThis answer lists what Wikidata and Wikimedia Commons record for this name, w...
sourcesarray of objectsyes2 items in the example
usptoCreditstringyesSource: United States Patent and Trademark Office, www.uspto.gov
affiliationstringyesNot 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

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

Related tools