Ni Biashara Agent identity API

The Agent identity API from Ni Biashara — 5 operation(s) for agent identity.

GitHub OpenAPI

Operations 5

POST /agent/identity Register an anonymous agent identity (no captcha, no email) #
POST /oauth2/token Exchange an identity_assertion (jwt-bearer) or a refresh_token for an access… #
POST /oauth2/revoke RFC 7009 token revocation #
GET /agent/me Who this bearer is, and its linked Shelf Pass credit total #

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/nibiashara-biz:nibiashara-biz-agent-identity-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

nibiashara-biz-agent-identity-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Ni Biashara Shelves Agent identity API
  version: 1.2.0
  description: 'Ni Biashara Shelves. FX product: AI Money — Africa FX. Official rates are Frankfurter''s blend of published reference rates (not a single central-bank fixing). Street rates for USD-NGN and USD-GHS are the Bybit P2P order book. Also business services, sold per call to AI agents. Ni Biashara LLC, Dallas TX.'
  x-guidance: 'Every /shelf/* route is pay-per-call: GET it, receive 402 with a PAYMENT-REQUIRED header (x402 v2, scheme exact, USDC on Base eip155:8453), retry the same URL with PAYMENT-SIGNATURE and the delivery comes back in the 200 body. Pair shelves need ?pair=USD-XXX (official: KES NGN GHS TZS UGX ZAR EGP RWF; parallel: NGN GHS). Service shelves need ?brief=…&contact=email and return a ticket; a human fulfils within the stated turnaround. Free: GET /catalog and GET /.well-known/x402. MCP server at https://agents.nibiashara.biz/mcp (job tools: list_shelves, buy_shelf, get_order, get_pass_balance, check_carrier_authority, check_carrier_basics, check_broker_authority, vet_load, screen_sanctions_name, screen_sanctions_wallet, get_diaspora_metro_snapshot, get_fx_official, get_fx_parallel, get_fx_africa_brief, get_fx_official_all, get_fx_parallel_history_24h, get_fx_parallel_history_7d, localize_text, check_tx_insurance_ce, check_tx_realestate_ce, buy_shelf_pass, estimate_us_nigeria_shipping, prepare_us_nigeria_shipment_handoff, check_diaspora_business_listing). Questions: twe@nibiashara.biz.'
  contact:
    name: Ni Biashara LLC
    email: twe@nibiashara.biz
    url: https://nibiashara.biz
servers:
- url: https://agents.nibiashara.biz
tags:
- name: Agent identity
paths:
  /agent/identity:
    post:
      summary: Register an anonymous agent identity (no captcha, no email)
      tags:
      - Agent identity
      operationId: agent_identity
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - type
              properties:
                type:
                  type: string
                  enum:
                  - anonymous
      responses:
        '201':
          description: registration_id + identity_assertion (10 min, single use)
        '415':
          description: Content-Type must be application/json
        '429':
          description: Network limit
        '503':
          description: Unavailable (fails closed)
  /oauth2/token:
    post:
      summary: Exchange an identity_assertion (jwt-bearer) or a refresh_token for an access…
      tags:
      - Agent identity
      operationId: oauth2_token
      security: []
      requestBody:
        required: true
        content:
          application/x-www-form-urlencoded:
            schema:
              type: object
              required:
              - grant_type
              properties:
                grant_type:
                  type: string
                  enum:
                  - urn:ietf:params:oauth:grant-type:jwt-bearer
                  - refresh_token
                assertion:
                  type: string
                refresh_token:
                  type: string
      responses:
        '200':
          description: access_token (1 h), refresh_token (90 d, rotating)
        '400':
          description: OAuth error
        '429':
          description: Limit
  /oauth2/revoke:
    post:
      summary: RFC 7009 token revocation
      tags:
      - Agent identity
      operationId: oauth2_revoke
      security: []
      responses:
        '200':
          description: Always 200
  /agent/me:
    get:
      summary: Who this bearer is, and its linked Shelf Pass credit total
      tags:
      - Agent identity
      operationId: agent_me
      security:
      - agentBearer:
        - shelves.identity
      responses:
        '200':
          description: Identity
        '401':
          description: Missing, unknown, expired or revoked token
  /agent/pass/link:
    post:
      summary: Pin a Shelf Pass you bought to this identity; the bearer then spends it
      tags:
      - Agent identity
      operationId: agent_pass_link
      security:
      - agentBearer:
        - shelves.pass
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - pass_token
              properties:
                pass_token:
                  type: string
                  pattern: ^pass_[0-9a-f]{32}$
      responses:
        '200':
          description: Linked (credits stay on the pass)
        '404':
          description: Unknown pass
        '409':
          description: Pass already linked to another identity
components:
  securitySchemes:
    agentBearer:
      type: http
      scheme: bearer
      description: 'Shelves agent access token (nbat_). Get one: https://agents.nibiashara.biz/auth.md. Authorization server: https://agents.nibiashara.biz/.well-known/oauth-authorization-server.'
externalDocs:
  description: Docs, one page per shelf (free)
  url: https://agents.nibiashara.biz/docs?ref=openapi
x-catalog: https://agents.nibiashara.biz/catalog?ref=openapi
x-agent-auth: 'Optional: with no X-SHELF-PASS, Authorization: Bearer <agent access token, scope shelves.pass> on /shelf/* and /mcp spends the Shelf Pass linked to that identity, under the same rules (data shelves <= $0.25). No linked credit = the normal 402.'