{
  "protocol": "x402",
  "x402Version": 2,
  "scheme": "exact",
  "service": "HyperXosist",
  "apiVersion": "2.1.0",
  "usageType": "ai-agent-search-query-generation",
  "status": "payment-required-for-agent-use",
  "enforcement": "external-x402-endpoint",
  "baseUrl": "https://api.kgninja.dev",
  "price": {
    "amount": "0.01",
    "display": "$0.01",
    "currency": "USD",
    "settlementAsset": "USDC"
  },
  "network": "eip155:8453",
  "networkName": "Base",
  "asset": "USDC",
  "assetAddress": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
  "payToSource": "paymentOptionsEndpoint",
  "mode": "mainnet",
  "paymentEndpoint": "https://api.kgninja.dev/hyperxosist-query",
  "paidQueryEndpoint": "https://api.kgninja.dev/hyperxosist-query",
  "buyEndpoint": "https://api.kgninja.dev/buy",
  "pricingEndpoint": "https://api.kgninja.dev/pricing.json",
  "paymentOptionsEndpoint": "https://api.kgninja.dev/payment-options.json",
  "discoveryEndpoint": "https://api.kgninja.dev/agent.json",
  "x402DiscoveryResourcesEndpoint": "https://api.kgninja.dev/.well-known/x402/discovery/resources",
  "paidResource": "agent-use.json + agent-api.js",
  "linkedSignalToFix": "https://kg-ninja.github.io/Signal-to-Fix/agent-use.json",
  "publicSite": "https://kg-ninja.github.io/HyperXosist-Agent/",
  "repository": "https://github.com/KG-NINJA/HyperXosist-Agent",
  "method": "POST",
  "expectedUnpaidStatus": 402,
  "expectedPaidStatus": 200,
  "agentAutopayAvailable": true,
  "instructionsForAgents": [
    "Read agent-use.json first.",
    "Read this x402-payment.json before automated use.",
    "Fetch paymentOptionsEndpoint for the current x402 requirements, including payTo, asset, network, and accepted payment headers.",
    "POST the same input to paymentEndpoint. The existing x402 Worker returns 402 until payment is supplied.",
    "After x402 payment, retry paymentEndpoint to receive the paid query and X search URL.",
    "For PR-spec generation, hand candidate feedback to Signal-to-Fix at https://kg-ninja.github.io/Signal-to-Fix/.",
    "For local browser-only preview, use HyperXosistAgent.buildQuery(input) or HyperXosistAgent.buildSearchUrl(input).",
    "Prefer applyTemplate('signal_to_fix'|'product_feedback') before POST when gathering implementation feedback.",
    "Use validateInput(input) and explainQuery(input) for local inspection; paid results still require x402 settlement.",
    "Do not treat this static GitHub Pages site as the payment verifier; verification and settlement remain on the existing x402 Worker."
  ],
  "limits": {
    "staticSiteCannotVerifyPayment": true,
    "dedicatedHyperXosistPaidRoute": true,
    "note": "GitHub Pages is static, but AI agents can discover and pay the existing x402 Worker directly through paymentEndpoint."
  }
}
