Skip to content

Documentation

Everything here is an endpoint.

There is no SDK you must adopt, no account to create and no key to manage. A service returns HTTP 402 with a payment challenge, your client settles it, and you get your data. This page is the whole integration surface.

Get started

Three calls, in order.

Discovery costs nothing, so start there. Only step three moves money.

Step 1 · free

Find a service

Search the registry for something that can do the job. No wallet required, no rate limit worth worrying about.

curl "https://aegis.borisinc.com/discover\
?query=weather&min_trust=60"
Step 2 · $0.01

Check it is real

Ask whether it is live, price‑honest and delivery‑proven before you hand it money. Works for any x402 URL, listed or not.

curl "https://aegis.borisinc.com/trust\
?url=https://example.com/paid/x"
Step 3 · pay

Buy it

Call it directly, or route through Aegis to get failover and auth‑then‑capture on top.

curl "https://aegis.borisinc.com/route\
?url=https://example.com/paid/x"

Or use the client

pip install aegis-buy

from aegis_buy import Aegis

# a spend policy your agent cannot argue its way out of
ax = Aegis(wallet=PRIVATE_KEY,
           max_spend_usd=1.00,
           max_per_call_usd=0.05,
           require_tier="verified")

hits = ax.discover("steam market data")      # free
data = ax.buy(hits[0].url)                   # trust-gated, receipted
print(ax.receipts[-1].signature)

Protocol

How the 402 handshake works.

x402 revives the HTTP status code that was reserved for this in 1997 and never used. There is no session, no invoice and no callback — payment is a header on the retry.

  1. Your agent GETs a paid endpoint with no payment header.
  2. The server replies 402 Payment Required with a challenge: amount, asset, network and recipient.
  3. Your client signs an authorisation for exactly that amount.
  4. It retries the request with an X-PAYMENT header.
  5. The server verifies with a facilitator, does the work, and returns the result.
  6. Settlement happens on chain. No account ever existed.

Boris Inc services quote USDC on Base (eip155:8453) by default, and also accept Solana, Polygon, Arbitrum, Algorand and MPP (Tempo) depending on the service.

$ curl -i https://api.borisinc.com/paid/ping

HTTP/1.1 402 Payment Required
content-type: application/json
x-payment-required: eyJ4NDAyVmVyc2lvbiI6MiwiYWNjZ...

{
  "x402Version": 2,
  "accepts": [{
    "scheme":  "exact",
    "network": "eip155:8453",
    "asset":   "USDC",
    "amount":  "1000",
    "payTo":   "0x…",
    "resource":"https://api.borisinc.com/paid/ping"
  }]
}
Auth‑then‑capture. On Boris Inc services the authorisation is captured only after the work succeeds. A failed call releases the authorisation instead of taking the money — and the failure is recorded against the seller in the public registry.

Reference

Every endpoint we run.

Free endpoints need no wallet at all. Paid endpoints return a 402 and nothing else until it is settled.

Aegis aegis.borisinc.com

EndpointDescriptionPrice
GET /discoverSearch by query, category, minimum trustfree
GET /discover/smartSemantic search over capabilitiesfree
GET /market.jsonState of the whole x402 marketfree
GET /categories.jsonPer‑category counts, tiers, pricingfree
GET /registry.jsonRegistry preview, top 100 by scorefree
GET /lint?url=Lint your own x402 endpointfree
GET /submitAdd a service to the indexfree
GET /trust?url=Trust verdict, tier, probe history, recommendation$0.01
GET /route?url=Buy through us with automatic failoverupstream +20%
GET /procure?need=&budget=State a need and a cap; we procure and receipt it≤ budget
GET /feedBulk verified dataset with trust signals$0.05
GET /erc8004/reputationOn‑chain reputation for any agent$0.005
GET /attestPublish your verified score on‑chain$0.25

Memory mem.borisinc.com

POST /trial/memory/write5 records, 24 hours, not privatefree
GET /trial/memory/searchSearch the trial namespacefree
GET /memory/statsNamespace statisticsfree
POST /paid/memory/writeDurable write, embedded on arrival$0.001
GET /paid/memory/searchSemantic retrieval$0.002
GET /paid/memory/exportFull export, no lock‑in$0.01
GET /subscribe30 days unlimited, wallet‑bound token$2.00

GameDataKit api.borisinc.com

GET /sample/*Free truncated preview of every endpointfree
GET /paid/steam/top-sellersBest sellers by region$0.005
GET /paid/steam/dealsValue‑ranked discounts$0.005
GET /paid/steam/app/{appid}Details, players, reviews, owners$0.005
GET /paid/game/metadataIGDB metadata and similar games$0.005
GET /paid/twitch/hypeTwitch attention scan$0.02
GET /paid/util/guard?text=Injection, PII and secret detection$0.004
GET /paid/util/extract?url=Fetch, clean and chunk a page$0.005
GET /paid/util/site-intel?target=What is this domain running$0.005
GET /paid/util/email-verify?email=Deliverability check$0.003
GET /paid/util/mock?kind=&n=Synthetic test data$0.003
GET /paid/util/json?op=&data=JSON transform toolkit$0.002
GET /paid/pingx402 connectivity test$0.001

Tools tools.borisinc.com

GET /sample/*Real pipeline, capped outputfree
GET /paid/researchWeb research with sources$0.02
GET /paid/summarizeFaithful summary at a target length$0.01
GET /paid/extractSchema‑guided structured extraction$0.01

Aegis on Algorand mirrors the trust and routing surface with Algorand‑native settlement — see algo.borisinc.com. Every service publishes its own /openapi.json.

For agent builders

Machine‑readable by default.

llms.txt

Every host serves /llms.txt — a plain description of what it does, what it costs and how to call it, written for a model rather than a crawler.

borisinc.com/llms.txt · aegis.borisinc.com/llms.txt · mem.borisinc.com/llms.txt

Agent cards

Every host serves /.well-known/agent-card.json and /.well-known/x402, so a client can enumerate capabilities and prices without a human reading a docs page.

JSON at the root

Send Accept: application/json to any of our root URLs and you get a structured index instead of HTML. The same URL serves both audiences.

curl -H "Accept: application/json" https://borisinc.com/

Spend policy

aegis‑buy enforces limits client‑side: per‑call cap, session cap, required trust tier, domain allowlist. The policy lives outside the model's context, so prompt injection cannot raise it.

ERC‑8004 identity

Aegis is agent #58766 on Base and publishes verified trust scores to the Reputation Registry, where anyone can check them without trusting us.

Neutrality

No paid placement, no sponsored tier, no ranking boost for our own services. The policy is short and testable.

Start with a call that costs nothing.

curl "https://aegis.borisinc.com/discover?query=what+you+need"