SelfBadge People API

Find and read people's profiles.

GitHub OpenAPI

Operations 3

GET /api/v1/search Find people by name #
GET /api/v1/people Get a person by SelfBadge id #
GET /api/v1/people/{handle} Get a person's profile #

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/selfbadge-com:selfbadge-com-people-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

selfbadge-com-people-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: SelfBadge lookup People API
  version: 1.0.0
  summary: Identify people, tell namesakes apart, and read verified facts with their sources.
  description: 'SelfBadge holds one public profile per person, with every fact marked by its verification level (0 seeded from public sources, 1 self-declared, 2 account-verified, 3 document-verified, 4 ID-verified) and its source. The API reads only what each person made public.


    Rate limits: 120 calls an hour per network without a key; 5000 an hour with a free API key (create one at https://selfbadge.com/account). Every answer has X-RateLimit-Limit and X-RateLimit-Remaining; a 429 has Retry-After.


    Errors are JSON: {"error": {"code": "...", "message": "..."}} with the HTTP status. Addresses under /api that do not exist answer {"error": "not_found", "message": "..."} (404), or {"error": "method_not_allowed", ...} (405) for a method an operation does not take.


    The same lookups are tools on the MCP server at https://selfbadge.com/mcp. Documentation: https://selfbadge.com/developers.


    Partners (with a client from SelfBadge) also have the partner API under /api/partners/v1: OAuth 2.0 client credentials at https://selfbadge.com/oauth/token (security scheme partnerOAuth, scopes profiles:read, profiles:write, claim-links:write, profiles:update, claims:attest, plans:write, profiles:read_public), to submit draft profiles that stay private until the person claims them, create signed claim links, and, with capabilities SelfBadge switches on per client (attested_claims, update_facts, plans, revoke, mute_emails, declaration_publish), claim profiles for people whose identity the partner confirmed, update its own facts, give Pro for an order and revoke it. Partner errors are {"error": "", "message": "...", "fields": {...}}; create calls take an Idempotency-Key header; three webhooks (below) are signed with HMAC-SHA256. The public lookup API above is unchanged: open, with optional keys.'
  contact:
    name: SelfBadge support
    email: support@selfbadge.com
    url: https://selfbadge.com/contact
  termsOfService: https://selfbadge.com/terms
servers:
- url: https://selfbadge.com
security:
- {}
- bearerAuth: []
- apiKeyHeader: []
tags:
- name: People
  description: Find and read people's profiles.
paths:
  /api/v1/search:
    get:
      operationId: searchPeople
      tags:
      - People
      summary: Find people by name
      description: Public profiles with this name, claimed or created from public sources (seeded, level 0, unconfirmed), best match first. Pass what you know (job title, organization, location) so the right person ranks first; each candidate carries the hints that tell namesakes apart.
      parameters:
      - name: name
        in: query
        required: true
        description: The person's full name (2 to 80 characters). Accents and case are ignored.
        schema:
          type: string
          minLength: 2
          maxLength: 80
        example: Noa Bergman
      - name: job_title
        in: query
        required: false
        description: 'Optional: what you know of their job title (jobTitle is accepted too).'
        schema:
          type: string
      - name: organization
        in: query
        required: false
        description: 'Optional: an organization you associate with them.'
        schema:
          type: string
      - name: location
        in: query
        required: false
        description: 'Optional: a city or country you associate with them.'
        schema:
          type: string
      - name: limit
        in: query
        required: false
        description: How many candidates to return.
        schema:
          type: integer
          minimum: 1
          maximum: 25
          default: 10
      responses:
        '200':
          description: Candidates, best match first.
          headers:
            X-RateLimit-Limit:
              $ref: '#/components/headers/RateLimitLimit'
            X-RateLimit-Remaining:
              $ref: '#/components/headers/RateLimitRemaining'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SearchResult'
        '400':
          description: The name is missing or not 2 to 80 characters (code invalid_name).
          headers:
            X-RateLimit-Limit:
              $ref: '#/components/headers/RateLimitLimit'
            X-RateLimit-Remaining:
              $ref: '#/components/headers/RateLimitRemaining'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: The API key sent is not valid (code invalid_key).
          headers:
            X-RateLimit-Limit:
              $ref: '#/components/headers/RateLimitLimit'
            X-RateLimit-Remaining:
              $ref: '#/components/headers/RateLimitRemaining'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: Too many calls in the last hour (code rate_limited). Wait Retry-After seconds, or use a free API key.
          headers:
            X-RateLimit-Limit:
              $ref: '#/components/headers/RateLimitLimit'
            X-RateLimit-Remaining:
              $ref: '#/components/headers/RateLimitRemaining'
            Retry-After:
              description: Seconds until a call is allowed again.
              schema:
                type: integer
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: Something went wrong (code server_error).
          headers:
            X-RateLimit-Limit:
              $ref: '#/components/headers/RateLimitLimit'
            X-RateLimit-Remaining:
              $ref: '#/components/headers/RateLimitRemaining'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '503':
          description: The database is not reachable right now (code unavailable). Try again shortly.
          headers:
            X-RateLimit-Limit:
              $ref: '#/components/headers/RateLimitLimit'
            X-RateLimit-Remaining:
              $ref: '#/components/headers/RateLimitRemaining'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
  /api/v1/people:
    get:
      operationId: getPersonById
      tags:
      - People
      summary: Get a person by SelfBadge id
      description: The same as /api/v1/people/{handle}, by the stable Person @id (https://selfbadge.com/#person), the profile address, a bare handle or the internal person id (a UUID).
      parameters:
      - name: id
        in: query
        required: true
        description: A SelfBadge id.
        schema:
          type: string
        example: https://selfbadge.com/noa-bergman#person
      - name: format
        in: query
        required: false
        description: 'jsonld returns only the schema.org JSON-LD (as does Accept: application/ld+json).'
        schema:
          type: string
          enum:
          - jsonld
      responses:
        '200':
          description: 'The profile. With format=jsonld (or Accept: application/ld+json), only its JSON-LD.'
          headers:
            X-RateLimit-Limit:
              $ref: '#/components/headers/RateLimitLimit'
            X-RateLimit-Remaining:
              $ref: '#/components/headers/RateLimitRemaining'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Person'
            application/ld+json:
              schema:
                $ref: '#/components/schemas/JsonLd'
        '400':
          description: Not a SelfBadge handle or id (code invalid_id or missing_parameter).
          headers:
            X-RateLimit-Limit:
              $ref: '#/components/headers/RateLimitLimit'
            X-RateLimit-Remaining:
              $ref: '#/components/headers/RateLimitRemaining'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: The API key sent is not valid (code invalid_key).
          headers:
            X-RateLimit-Limit:
              $ref: '#/components/headers/RateLimitLimit'
            X-RateLimit-Remaining:
              $ref: '#/components/headers/RateLimitRemaining'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: No public SelfBadge profile has that handle or id (code not_found).
          headers:
            X-RateLimit-Limit:
              $ref: '#/components/headers/RateLimitLimit'
            X-RateLimit-Remaining:
              $ref: '#/components/headers/RateLimitRemaining'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: Too many calls in the last hour (code rate_limited). Wait Retry-After seconds, or use a free API key.
          headers:
            X-RateLimit-Limit:
              $ref: '#/components/headers/RateLimitLimit'
            X-RateLimit-Remaining:
              $ref: '#/components/headers/RateLimitRemaining'
            Retry-After:
              description: Seconds until a call is allowed again.
              schema:
                type: integer
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: Something went wrong (code server_error).
          headers:
            X-RateLimit-Limit:
              $ref: '#/components/headers/RateLimitLimit'
            X-RateLimit-Remaining:
              $ref: '#/components/headers/RateLimitRemaining'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '503':
          description: The database is not reachable right now (code unavailable). Try again shortly.
          headers:
            X-RateLimit-Limit:
              $ref: '#/components/headers/RateLimitLimit'
            X-RateLimit-Remaining:
              $ref: '#/components/headers/RateLimitRemaining'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
  /api/v1/people/{handle}:
    get:
      operationId: getPerson
      tags:
      - People
      summary: Get a person's profile
      description: 'Every public fact with its verification level and source, the verifications, and the schema.org JSON-LD. Profiles marked seeded were created from public sources and are not claimed yet: treat their facts as unconfirmed.'
      parameters:
      - name: handle
        in: path
        required: true
        description: The profile handle, as in https://selfbadge.com/<handle>. A handle that moved after a merge still answers.
        schema:
          type: string
          pattern: ^[a-z0-9](?:[a-z0-9-]{1,38}[a-z0-9])$
        example: noa-bergman
      - name: format
        in: query
        required: false
        description: 'jsonld returns only the schema.org JSON-LD (as does Accept: application/ld+json).'
        schema:
          type: string
          enum:
          - jsonld
      responses:
        '200':
          description: 'The profile. With format=jsonld (or Accept: application/ld+json), only its JSON-LD.'
          headers:
            X-RateLimit-Limit:
              $ref: '#/components/headers/RateLimitLimit'
            X-RateLimit-Remaining:
              $ref: '#/components/headers/RateLimitRemaining'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Person'
            application/ld+json:
              schema:
                $ref: '#/components/schemas/JsonLd'
        '400':
          description: Not a SelfBadge handle or id (code invalid_id or missing_parameter).
          headers:
            X-RateLimit-Limit:
              $ref: '#/components/headers/RateLimitLimit'
            X-RateLimit-Remaining:
              $ref: '#/components/headers/RateLimitRemaining'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: The API key sent is not valid (code invalid_key).
          headers:
            X-RateLimit-Limit:
              $ref: '#/components/headers/RateLimitLimit'
            X-RateLimit-Remaining:
              $ref: '#/components/headers/RateLimitRemaining'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: No public SelfBadge profile has that handle or id (code not_found).
          headers:
            X-RateLimit-Limit:
              $ref: '#/components/headers/RateLimitLimit'
            X-RateLimit-Remaining:
              $ref: '#/components/headers/RateLimitRemaining'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: Too many calls in the last hour (code rate_limited). Wait Retry-After seconds, or use a free API key.
          headers:
            X-RateLimit-Limit:
              $ref: '#/components/headers/RateLimitLimit'
            X-RateLimit-Remaining:
              $ref: '#/components/headers/RateLimitRemaining'
            Retry-After:
              description: Seconds until a call is allowed again.
              schema:
                type: integer
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: Something went wrong (code server_error).
          headers:
            X-RateLimit-Limit:
              $ref: '#/components/headers/RateLimitLimit'
            X-RateLimit-Remaining:
              $ref: '#/components/headers/RateLimitRemaining'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '503':
          description: The database is not reachable right now (code unavailable). Try again shortly.
          headers:
            X-RateLimit-Limit:
              $ref: '#/components/headers/RateLimitLimit'
            X-RateLimit-Remaining:
              $ref: '#/components/headers/RateLimitRemaining'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    JsonLd:
      type: object
      description: schema.org JSON-LD with an @graph.
      required:
      - '@context'
      - '@graph'
      properties:
        '@context':
          type: string
        '@graph':
          type: array
          items:
            type: object
    Verification:
      type: object
      required:
      - method
      - label
      - checkedAt
      properties:
        method:
          type: string
        label:
          type: string
        checkedAt:
          type:
          - string
          - 'null'
        rechecked:
          type: string
    Error:
      type: object
      required:
      - error
      properties:
        error:
          type: object
          required:
          - code
          - message
          properties:
            code:
              type: string
              description: 'A stable code: missing_parameter, invalid_id, invalid_name, invalid_slug, not_found, invalid_key, rate_limited, unavailable, server_error.'
            message:
              type: string
              description: What happened, in plain words.
    SearchResult:
      type: object
      required:
      - query
      - count
      - results
      properties:
        query:
          type: object
          required:
          - name
          - jobTitle
          - organization
          - location
          properties:
            name:
              type: string
            jobTitle:
              type:
              - string
              - 'null'
            organization:
              type:
              - string
              - 'null'
            location:
              type:
              - string
              - 'null'
        count:
          type: integer
        results:
          type: array
          items:
            $ref: '#/components/schemas/SearchCandidate'
        note:
          type: string
          description: Guidance when several people share the name, or none was found.
    Person:
      allOf:
      - $ref: '#/components/schemas/PersonSummary'
      - type: object
        required:
        - verificationLevels
        - publicFacts
        - verifications
        - jsonld
        - dateModified
        properties:
          seeded:
            type: boolean
          sample:
            type: boolean
            description: A fictional sample profile.
          note:
            type: string
          verificationLevels:
            type: object
            additionalProperties:
              type: string
            description: What each level means, keyed 0 to 4.
          publicFacts:
            type: array
            items:
              $ref: '#/components/schemas/Fact'
          verifications:
            type: array
            items:
              $ref: '#/components/schemas/Verification'
          jsonld:
            $ref: '#/components/schemas/JsonLd'
          dateModified:
            type:
            - string
            - 'null'
    PersonSummary:
      type: object
      required:
      - id
      - handle
      - url
      - json
      - name
      - headline
      - jobTitle
      - organization
      - location
      - description
      - status
      - facts
      properties:
        id:
          type: string
          format: uri
          description: 'The stable Person @id: cite the person by it.'
        handle:
          type: string
        url:
          type: string
          format: uri
          description: The profile page.
        json:
          type: string
          format: uri
          description: The profile as JSON with verification (/<handle>.json).
        name:
          type:
          - string
          - 'null'
        headline:
          type:
          - string
          - 'null'
        jobTitle:
          type:
          - string
          - 'null'
        organization:
          type:
          - string
          - 'null'
        location:
          type:
          - string
          - 'null'
        description:
          type:
          - string
          - 'null'
          description: A line that tells the person apart from namesakes, or their description.
        status:
          type: string
          description: seeded (created from public sources, not claimed), or the claimed profile's state.
        facts:
          type: object
          required:
          - published
          - verified
          properties:
            published:
              type: integer
            verified:
              type: integer
    SearchCandidate:
      allOf:
      - $ref: '#/components/schemas/PersonSummary'
      - type: object
        required:
        - matchedHints
        - score
        properties:
          seeded:
            type: boolean
            description: Present and true for a profile created from public sources and not claimed.
          note:
            type: string
          matchedHints:
            type: array
            items:
              type: string
              enum:
              - jobTitle
              - organization
              - location
          score:
            type: integer
            description: How many of the given hints the profile matches.
    Fact:
      type: object
      required:
      - property
      - value
      - verification
      - source
      properties:
        property:
          type: string
          description: The schema.org Person property, for example jobTitle or sameAs.
        value:
          description: 'The value: a string, or an object for structured facts (roles, education, accounts).'
        verification:
          type: object
          required:
          - level
          - name
          - label
          properties:
            level:
              type: integer
              minimum: 0
              maximum: 4
            name:
              type: string
            label:
              type: string
            method:
              type:
              - string
              - 'null'
            verifiedAt:
              type:
              - string
              - 'null'
            expiresAt:
              type:
              - string
              - 'null'
        source:
          type: object
          required:
          - type
          properties:
            type:
              type: string
              description: self, import, connector or seed.
            label:
              type:
              - string
              - 'null'
            url:
              type:
              - string
              - 'null'
            retrievedAt:
              type:
              - string
              - 'null'
  headers:
    RateLimitRemaining:
      description: Calls left in the current hour.
      schema:
        type: integer
    RateLimitLimit:
      description: Calls allowed an hour for this caller.
      schema:
        type: integer
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: Optional. A free SelfBadge API key (sbk_...) from https://selfbadge.com/account raises the limit to 5000 calls an hour.
    apiKeyHeader:
      type: apiKey
      in: header
      name: X-API-Key
      description: Optional. The same API key, in this header instead of Authorization.
    partnerOAuth:
      type: oauth2
      description: For partners only (a client from SelfBadge). Client credentials at https://selfbadge.com/oauth/token; metadata at https://selfbadge.com/.well-known/oauth-authorization-server.
      flows:
        clientCredentials:
          tokenUrl: https://selfbadge.com/oauth/token
          scopes:
            profiles:read: Read the status of the profiles this client submitted.
            profiles:write: Submit draft profiles, and delete them while they are still drafts.
            claim-links:write: Create signed claim links for this client's drafts and for profiles made from public sources.
            profiles:update: Change or remove the facts this client added, on its drafts and on profiles claimed through it (needs the update facts capability).
            claims:attest: Claim a profile for a person whose identity this client confirmed (needs the attested claims capability).
            plans:write: Give Pro for an order, and revoke it after a refund or a withdrawal (needs the plans or revoke capability).
            profiles:read_public: Read the whole public page of the profiles this client created or manages (?view=public).
externalDocs:
  description: 'Developers: API and MCP'
  url: https://selfbadge.com/developers