82trust / 100

Wikidata Entity

by Wikidata entity facts in Company & people data

x402 APIPassing, checked 3 h ago

Company/person/organization facts from Wikidata. Pass an entity id (e.g. Q312 for Apple Inc.) for the enrichment record - label, description, aliases, and a curated fact set (inception, HQ location, country, industry, founders, CEO, employees, revenue, official website, LEI, ticker + exchange, ISIN, logo; for people: birth/death dates, citizenship, occupation) with item references resolved to human-readable labels.

POST https://agent402.tools/api/wikidata-entity

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
184 ms typical, 184 ms slowest 5%
Last check
3 h ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X POST "https://agent402.tools/api/wikidata-entity" \
  -H "content-type: application/json" \
  -d '{"id":"Q312"}'
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client().register(
  "eip155:8453",
  new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fagent402.tools%2Fapi%2Fwikidata-entity
const res = await pay("https://agent402.tools/api/wikidata-entity", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"id":"Q312"}),
});
console.log(await res.json());

Example input

{
  "id": "Q312"
}

Example output

{
  "aliases": [
    "Apple",
    "Apple Computer, Inc."
  ],
  "description": "American multinational technology company",
  "facts": {
    "headquartersLocation": [
      {
        "id": "Q3070754",
        "label": "Apple Park"
      }
    ],
    "inception": [
      "1976-04-01T00:00:00Z"
    ],
    "lei": [
      "HWUPKR0MPOU8FGXBT394"
    ],
    "officialWebsite": [
      "https://www.apple.com/"
    ],
    "tickerSymbol": [
      "AAPL"
    ]
  },
  "found": true,
  "id": "Q312",
  "label": "Apple Inc.",
  "source": "wikidata.org",
  "statementCount": 300
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
3 h agoPassed402188 ms$0.005
8 h agoPassed402184 ms$0.005