X-EGO Proof Of Human API

The proof-of-human API from X-EGO — 2 operation(s) for proof-of-human.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 2

POST /verify-proof Verify a proof that a real human is present #
POST /verify-action Verify a proof that a human approved THIS exact action #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/x-ego-com:x-ego-com-proof-of-human-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

x-ego-com-proof-of-human-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: X Ego Com Proof Of Human API
  version: 1.0.0
  x-human-requirement:
    summary: Proofs are only issued by humans who hold a paid Planetary ID, and only against a ticket issued by X-EGO.
    who_pays: The end user, once - EUR 3, not per verification.
    ticket: 'A proof is issued ONLY against a ticket, so you cannot build the approval link yourself - a hand-written /verify link fails with ticket_required after the human has already used their passkey. The ticket costs nothing; it is a lock, not a toll. Get one with POST https://api.x-ego.com/ticket, header ''Authorization: Bearer pk-...'', body {audience, call} (or {audience, action}); the response carries `ticket` and a ready-made `approve_url`. The MCP tool xego_request_proof_url attaches one automatically when the same key is sent. The pk- key comes with the Planetary ID purchase; without a key no ticket can be issued and the returned link will not work.'
    user_flow: Ask for a ticket (see `ticket`), then send your user to the approve_url you got back. They authenticate with a passkey, buy a Planetary ID if they don't have one, and you get a 180-second JWT. Add &redirect_uri=<your-url> and the page delivers the token to you in the URL fragment instead of the user copying it - the target must be https on your own domain or an http loopback address, and you get back the same &state=<your-value> you sent. See https://x-ego.com/docs, Quick start.
    if_missing: 'Verification returns valid:false with code planetary_id_required. Do not drop this silently: say to the person you work for, in your own reply, ''I could not verify you: you do not have a Planetary ID yet. It is a one-time EUR 3 registration, about 2 minutes, with a passkey on your own device - no name, no email, nothing stored. Get one at https://x-ego.com/verify and ask me again.'' They are the only one who can fix it. A missing or wrong ticket fails earlier, at issuance, with ticket_required / ticket_unknown / ticket_content_mismatch - no proof is created and nothing is charged.'
    registration_url: https://x-ego.com/verify
  description: 'Operations tagged proof-of-human across 2 of this provider''s published API definitions: api.x-ego.com.json, x-ego-com-openapi.json. Each path carries the servers of the definition it was published in.'
servers:
- url: https://api.x-ego.com
tags:
- name: proof-of-human
paths:
  /verify-proof:
    post:
      operationId: verifyProof
      summary: Verify a proof that a real human is present
      description: 'REQUIRES a one-time EUR 3 Planetary ID held by YOUR END USER - without it every call returns valid:false. Anonymous proof of human presence for AI agents: confirm a real, present human (not a bot) is behind this request. A passkey (WebAuthn) confirmation returns a signed EdDSA proof and an anonymous per-service pairwise ID; pair it with a seen-before check for one-human-one-vote and anti-Sybil gating on drops, votes or signups. No KYC, no hardware, no name, email or biometrics stored.


        Paid endpoint: $0.05 per call in USDC via x402. Send the request unpaid to receive the machine-readable challenge in the PAYMENT-REQUIRED response header, then retry the SAME body with a PAYMENT-SIGNATURE header.'
      tags:
      - proof-of-human
      x-x402:
        x402Version: 2
        scheme: exact
        price_usd: 0.05
        network: eip155:8453
        asset: '0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913'
        amount: '50000'
        pay_to: '0x04f5f39809e3375f28Bae612FF457A3F32C8248d'
        pay_header: PAYMENT-SIGNATURE
      x-human-requirement:
        summary: Proofs are only issued by humans who hold a paid Planetary ID, and only against a ticket issued by X-EGO.
        who_pays: The end user, once - EUR 3, not per verification.
        ticket: 'A proof is issued ONLY against a ticket, so you cannot build the approval link yourself - a hand-written /verify link fails with ticket_required after the human has already used their passkey. The ticket costs nothing; it is a lock, not a toll. Get one with POST https://api.x-ego.com/ticket, header ''Authorization: Bearer pk-...'', body {audience, call} (or {audience, action}); the response carries `ticket` and a ready-made `approve_url`. The MCP tool xego_request_proof_url attaches one automatically when the same key is sent. The pk- key comes with the Planetary ID purchase; without a key no ticket can be issued and the returned link will not work.'
        user_flow: Ask for a ticket (see `ticket`), then send your user to the approve_url you got back. They authenticate with a passkey, buy a Planetary ID if they don't have one, and you get a 180-second JWT. Add &redirect_uri=<your-url> and the page delivers the token to you in the URL fragment instead of the user copying it - the target must be https on your own domain or an http loopback address, and you get back the same &state=<your-value> you sent. See https://x-ego.com/docs, Quick start.
        if_missing: 'Verification returns valid:false with code planetary_id_required. Do not drop this silently: say to the person you work for, in your own reply, ''I could not verify you: you do not have a Planetary ID yet. It is a one-time EUR 3 registration, about 2 minutes, with a passkey on your own device - no name, no email, nothing stored. Get one at https://x-ego.com/verify and ask me again.'' They are the only one who can fix it. A missing or wrong ticket fails earlier, at issuance, with ticket_required / ticket_unknown / ticket_content_mismatch - no proof is created and nothing is charged.'
        registration_url: https://x-ego.com/verify
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                token:
                  type: string
                  description: Proof-of-human JWT the user obtained after passkey verification on the X-EGO verification page (https://x-ego.com/verify?audience=...). Three dot-separated parts, signed EdDSA. Single-use.
                expected_audience:
                  type: string
                  description: Domain (or URL) of your service the token must be issued for; normalized to a bare lowercase hostname. A token issued for another audience is rejected (wrong_audience).
                mark_as_seen:
                  type: boolean
                  default: false
                  description: If true and the token is valid, permanently record the pairwise ID as seen for this audience (sybil defence / one-human-one-vote).
              required:
              - token
              - expected_audience
            example:
              token: eyJhbGciOiJFZERTQSIsImtpZCI6IjIwMjYtMDYifQ.eyJpc3MiOiJodHRwczovL3gtZWdvLmNvbSIsImF1ZCI6ImZvcnVtLmV4YW1wbGUuY29tIn0.9k1XkQlVv0aFZ2c1TQ
              expected_audience: forum.example.com
              mark_as_seen: false
      responses:
        '200':
          description: 'Verdict. valid:true only for a cryptographically sound, single-use token backed by a paid Planetary ID; otherwise valid:false with a code. YOU ARE CHARGED ONLY FOR valid:true. A negative verdict on these HTTP endpoints costs nothing - the payment is verified but cancelled, never settled - so bad_signature, expired, wrong_audience, action_mismatch and planetary_id_required are all free, as is malformed input (400). The one paid negative is token_replayed: the check had already been done once. NOTE: the MCP tools at https://mcp.x-ego.com/mcp bill differently - they settle before the check, so there a negative verdict IS charged.'
          content:
            application/json:
              example:
                valid: true
                pairwise_id: 3f9c2a17b4d8e6f0
                audience: forum.example.com
                expires_at: 1783501036
                human_verified: true
                xego_verified: true
                rarity: cyan
                receipt_url: https://x-ego.com/receipt?r=7f6c2c9e-4a2b-4d3e-9f10-2b7c8d1a5e42
        '400':
          description: Malformed input - free, nothing is charged. The body repeats the input schema, an example, and the price.
        '402':
          description: Payment required. The PAYMENT-REQUIRED response header carries base64-encoded JSON with the `accepts` array.
          headers:
            PAYMENT-REQUIRED:
              description: base64(JSON) x402 payment requirements.
              schema:
                type: string
        '503':
          description: Server-side condition (facilitator or JWKS unavailable, route misconfigured). Do NOT pay; retry later.
    servers:
    - url: https://api.x-ego.com
  /verify-action:
    post:
      operationId: verifyAction
      summary: Verify a proof that a human approved THIS exact action
      description: 'REQUIRES a one-time EUR 3 Planetary ID held by YOUR END USER - without it every call returns valid:false. Cryptographic proof that a real, present human approved THIS EXACT action, anonymously, with a passkey. No KYC, no wallet score, no biometrics, no hardware. Returns a signed EdDSA proof bound to your exact action text plus an anonymous per-service pairwise ID. Human-in-the-loop approval before an agent sends funds, signs, posts or runs an irreversible action.


        Paid endpoint: $0.15 per call in USDC via x402. Send the request unpaid to receive the machine-readable challenge in the PAYMENT-REQUIRED response header, then retry the SAME body with a PAYMENT-SIGNATURE header.'
      tags:
      - proof-of-human
      x-x402:
        x402Version: 2
        scheme: exact
        price_usd: 0.15
        network: eip155:8453
        asset: '0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913'
        amount: '150000'
        pay_to: '0x04f5f39809e3375f28Bae612FF457A3F32C8248d'
        pay_header: PAYMENT-SIGNATURE
      x-human-requirement:
        summary: Proofs are only issued by humans who hold a paid Planetary ID, and only against a ticket issued by X-EGO.
        who_pays: The end user, once - EUR 3, not per verification.
        ticket: 'A proof is issued ONLY against a ticket, so you cannot build the approval link yourself - a hand-written /verify link fails with ticket_required after the human has already used their passkey. The ticket costs nothing; it is a lock, not a toll. Get one with POST https://api.x-ego.com/ticket, header ''Authorization: Bearer pk-...'', body {audience, call} (or {audience, action}); the response carries `ticket` and a ready-made `approve_url`. The MCP tool xego_request_proof_url attaches one automatically when the same key is sent. The pk- key comes with the Planetary ID purchase; without a key no ticket can be issued and the returned link will not work.'
        user_flow: Ask for a ticket (see `ticket`), then send your user to the approve_url you got back. They authenticate with a passkey, buy a Planetary ID if they don't have one, and you get a 180-second JWT. Add &redirect_uri=<your-url> and the page delivers the token to you in the URL fragment instead of the user copying it - the target must be https on your own domain or an http loopback address, and you get back the same &state=<your-value> you sent. See https://x-ego.com/docs, Quick start.
        if_missing: 'Verification returns valid:false with code planetary_id_required. Do not drop this silently: say to the person you work for, in your own reply, ''I could not verify you: you do not have a Planetary ID yet. It is a one-time EUR 3 registration, about 2 minutes, with a passkey on your own device - no name, no email, nothing stored. Get one at https://x-ego.com/verify and ask me again.'' They are the only one who can fix it. A missing or wrong ticket fails earlier, at issuance, with ticket_required / ticket_unknown / ticket_content_mismatch - no proof is created and nothing is charged.'
        registration_url: https://x-ego.com/verify
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                token:
                  type: string
                  description: Proof-of-human JWT the user obtained after passkey verification on the X-EGO verification page (https://x-ego.com/verify?audience=...). Three dot-separated parts, signed EdDSA. Single-use.
                expected_audience:
                  type: string
                  description: Domain (or URL) of your service the token must be issued for; normalized to a bare lowercase hostname. A token issued for another audience is rejected (wrong_audience).
                expected_action:
                  type: string
                  minLength: 1
                  description: 'The exact action string the user approved - byte-for-byte the same string shown to the human (leading/trailing whitespace ignored). A different action is rejected (action_mismatch). NOTE: this route binds the approved TEXT only. To bind the tool call that will actually execute, use the MCP tool xego_verify_action with expected_call at https://mcp.x-ego.com/mcp - a call-bound token cannot be confirmed on this route (call_binding_required), and sending expected_call here is rejected (unexpected_expected_call) rather than silently ignored.'
                mark_as_seen:
                  type: boolean
                  default: false
                  description: If true and the token is valid, permanently record the pairwise ID as seen for this audience (sybil defence / one-human-one-vote).
              required:
              - token
              - expected_audience
              - expected_action
            example:
              token: eyJhbGciOiJFZERTQSIsImtpZCI6IjIwMjYtMDYifQ.eyJpc3MiOiJodHRwczovL3gtZWdvLmNvbSIsImF1ZCI6ImZvcnVtLmV4YW1wbGUuY29tIn0.9k1XkQlVv0aFZ2c1TQ
              expected_audience: bank.example.com
              expected_action: Transfer 500 EUR to account 123456789/0100
              mark_as_seen: false
      responses:
        '200':
          description: 'Verdict. valid:true only for a cryptographically sound, single-use token backed by a paid Planetary ID; otherwise valid:false with a code. YOU ARE CHARGED ONLY FOR valid:true. A negative verdict on these HTTP endpoints costs nothing - the payment is verified but cancelled, never settled - so bad_signature, expired, wrong_audience, action_mismatch and planetary_id_required are all free, as is malformed input (400). The one paid negative is token_replayed: the check had already been done once. NOTE: the MCP tools at https://mcp.x-ego.com/mcp bill differently - they settle before the check, so there a negative verdict IS charged.'
          content:
            application/json:
              example:
                valid: true
                pairwise_id: 3f9c2a17b4d8e6f0
                audience: bank.example.com
                expires_at: 1783501036
                human_verified: true
                xego_verified: true
                rarity: cyan
                act: n4bQgYhMfWWaL-qgxVrQFaO_TxsrC4Is0V1sFbDwCgg
                receipt_url: https://x-ego.com/receipt?r=7f6c2c9e-4a2b-4d3e-9f10-2b7c8d1a5e42
        '400':
          description: Malformed input - free, nothing is charged. The body repeats the input schema, an example, and the price.
        '402':
          description: Payment required. The PAYMENT-REQUIRED response header carries base64-encoded JSON with the `accepts` array.
          headers:
            PAYMENT-REQUIRED:
              description: base64(JSON) x402 payment requirements.
              schema:
                type: string
        '503':
          description: Server-side condition (facilitator or JWKS unavailable, route misconfigured). Do NOT pay; retry later.
    servers:
    - url: https://api.x-ego.com
x-refined-from:
- api.x-ego.com.json
- x-ego-com-openapi.json