AI Inference · x402 · early usage

Print and mail physical US letters (PDF, HTML, Markdown, DOCX, or image) and postcards…

Print and mail physical US letters (PDF, HTML, Markdown, DOCX, or image) and postcards via USPS, paid in USDC — with certified/registered proof options and standalone address verification at POST /v1/verify. Integration flow: POST /v1/documents to upload, POS…

by api.postagent.sh · discovered, not yet claimed by its owner · updated 2026-10-06

30d calls1
30d payers1
MethodPOST
Outputjson

Mirrored from Coinbase's public x402 Bazaar. The description is the provider's own text and has not been reviewed here; the payment requirements are copied as published.

What it does

Print and mail physical US letters (PDF, HTML, Markdown, DOCX, or image) and postcards via USPS, paid in USDC — with certified/registered proof options and standalone address verification at POST /v1/verify. Integration flow: POST /v1/documents to upload, POST /v1/quotes to lock a fixed USDC price for a recipient, then pay the returned per-quote x402 URL to create and mail the piece. Price is fixed per quote.

Tags: mail · print · letters · usps · fulfillment · bazaar

Call contract

Method
POST
Input
query parameters
Output
json
Last paid call
2026-10-06
Input example from Bazaar metadata
{
  "webhookUrl": "https://example.com/postagent-status"
}
Output example
{
  "createdAt": "2026-01-01T00:00:00.000Z",
  "documentId": "doc_9z8y7x6w",
  "id": "job_8f3c0a2b",
  "payment": {
    "amountAtomic": "1370000",
    "network": "eip155:8453",
    "payer": "0x0000000000000000000000000000000000000000",
    "transaction": "0x0000000000000000000000000000000000000000000000000000000000000000"
  },
  "quoteId": "qt_1a2b3c4d",
  "status": "received",
  "tracking": {
    "events": []
  }
}

Use with an agent

  1. Discover. Agents find this listing with GET https://bazaar.saylorinnovations.com/discovery/search?query=…, the MCP tool search_resources, or /discovery/resources.
  2. Inspect. Fetch /resources/31577.json for the price and payment options.
  3. Pay. Call GET https://api.postagent.sh/v1/print. The provider answers 402 with its payment requirements. An x402 client signs one of the options below and retries with PAYMENT-SIGNATURE.
  4. Execute. The provider returns 200 with the data. Agent Bazaar is not in the request path and never sees your payment.

For humans

You don't need an account or an API key; you need a wallet holding a small amount of USDC on Base, and an x402-capable client (see the examples below). Call the endpoint unpaid first to see exactly what it asks for.

Pricing & payment

Price
$1.24 / request
Protocol
x402 v2
Auth
No account or API key. Pay per request.
Networks
Base
Demand
1 calls · 1 unique payers in 30d (public x402 Bazaar data)

x402 payment requirements

SchemeNetworkAssetAmountPay toTimeout
exactBase
eip155:8453
USDC$1.240x4ecc58bb1e8FC25eEfA23f071bd78c98660A007F300s
accepts[] (raw JSON)
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "payTo": "0x4ecc58bb1e8FC25eEfA23f071bd78c98660A007F",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "1240000",
    "amountUsd": 1.24,
    "maxTimeoutSeconds": 300
  }
]

Schemas

Output schema (JSON Schema)
{
  "properties": {
    "example": {
      "type": "object"
    },
    "type": {
      "type": "string"
    }
  },
  "required": [
    "type"
  ],
  "type": "object"
}
Example shape — generated from the schema, not a captured live response
{
  "example": {},
  "type": "string"
}

Examples

curl
curl "https://api.postagent.sh/v1/print"
# -> 402 Payment Required, accepts[] lists how to pay
# retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://api.postagent.sh/v1/print");
if (res.status === 402) {
  const { accepts } = await res.json();
  // pay one of accepts[] via an x402 client, then retry with the payment header
}
Python
import httpx
res = httpx.get("https://api.postagent.sh/v1/print")
if res.status_code == 402:
    accepts = res.json()["accepts"]
    # pay one of accepts[] via an x402 client, then retry with the payment header

Details

Provider
api.postagent.sh
Endpoint
https://api.postagent.sh/v1/print
Machine-readable
/resources/31577.json