# Wikidata Facts – Same-As Links

> Wikidata Facts – Same-As Links is a paid API for AI agents from wikidata-facts.x402tookit.com, paid per call via x402, $0.02/call, status unknown (last checked 2026-10-21).

Returns same-as/owl:sameAs identity links for a Wikidata entity, including VIAF, ISNI, GND, Library of Congress, GeoNames, Wikipedia editions, and exact-match URLs.

## Facts

- Endpoint: GET https://wikidata-facts.x402tookit.com/same-as?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-21
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/wikidata-facts-same-as-links-7f4155a5
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_zqV6r0xYWev6bfG_-8Zok

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 wikidata-facts-same-as-links-7f4155a5
```

Example prompt: What are all the same-as links for Marie Curie on Wikidata — things like her VIAF, ISNI, GND, Library of Congress, and GeoNames IDs?

## When to prefer this

Choose this endpoint when you need to resolve a Wikidata entity to its authority control identifiers (VIAF, ISNI, GND, LoC, GeoNames) or cross-reference it across linked-data systems. Ideal for library/archival workflows, knowledge graph enrichment, and any scenario where you need to confirm the same entity across multiple authoritative databases. Prefer over general Wikidata fact endpoints when your primary goal is identity linking rather than descriptive facts.

## Known failure modes

- Unknown or ambiguous name with no unique Wikidata match — returns alternatives list for disambiguation
- Invalid Q-id format — may return null or error
- Entity exists but has no same-as/external identifier statements — identifiers array is empty
- Network timeout or Wikidata API unavailability — degraded flag set to true
- Name hint insufficient to resolve ambiguity — multiple candidates returned

## How this service works

Same-as links for a Wikidata entity: VIAF, ISNI, GND, Library of Congress, GeoNames, Wikipedia editions, exact-match URLs.

## Output

A structured object containing the Wikidata Q-id, label, description, resolved-via info, an array of external identifiers (each with name, property, value, and URL), Wikipedia links (English URL, title, number of editions, Commons category), exact-match URLs, and metadata like attribution and disclaimer.

## 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": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "id"
     ],
     "properties": {
      "id": {
       "type": "string",
       "description": "Wikidata Q-id or a name, e.g. Q937 or Marie Curie"
      },
      "hint": {
       "type": "string",
       "description": "Optional words to disambiguate a name"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "url": {
       "type": [
        "null",
        "string"
       ]
      },
      "asOf": {
       "type": [
        "null",
        "string"
       ]
      },
      "label": {
       "type": [
        "null",
        "string"
       ]
      },
      "source": {
       "type": [
        "null",
        "string"
       ]
      },
      "reasons": {
       "type": [
        "array",
        "null"
       ]
      },
      "summary": {
       "type": [
        "null",
        "string"
       ]
      },
      "verdict": {
       "type": [
        "null",
        "string"
       ]
      },
      "degraded": {
       "type": [
        "boolean",
        "null"
       ]
      },
      "sameAsUri": {
       "type": [
        "null",
        "string"
       ]
      },
      "sourceUrl": {
       "type": [
        "null",
        "string"
       ]
      },
      "wikipedia": {
       "type": [
        "null",
        "object"
       ],
       "properties": {
        "english": {
         "type": [
          "null",
          "object"
         ],
         "properties": {
          "url": {
           "type": [
            "null",
            "string"
           ]
          },
          "title": {
           "type": [
            "null",
            "string"
           ]
          }
         }
        },
        "editions": {
         "type": [
          "null",
          "number"
         ]
        },
        "commonsCategory": {
         "type": [
          "null",
          "string"
         ]
        }
       }
      }
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/wikidata-facts-same-as-links-7f4155a5/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from wikidata-facts.x402tookit.com](https://www.zero.xyz/host/wikidata-facts.x402tookit.com/llms.txt)
