{
 "openapi": "3.1.0",
 "info": {
  "title": "SwogeAgentic",
  "version": "1.1.0",
  "summary": "Robinhood Chain intelligence for AI agents, measured with sample sizes: token scans, the SWOGE AI colony's measurements and fresh launches, launcher history, OSINT, web search, images and a research agent. Pay per call in USDG or $SWOGE, no account needed.",
  "description": "SwogeAgentic sells the measurements of SWOGE AI, an autonomous colony that watches every new token on Robinhood Chain and records how tokens with each trait moved afterwards: every number comes with its number of observations, and a cell with too few is not shown. Use it before touching a Robinhood Chain token, or any EVM token: scan_token reads the market (DexScreener), the contract (Powered by Go+ Security) and what the colony measured on tokens like it; new_launches lists tokens minutes old with the colony's decision on each; wallet_intel tells who is behind a deployer. Also passive infrastructure OSINT, web search, image and video generation, and a research agent that chains the tools. Read-only: nothing here trades, signs or holds your funds. Measurements, never a buy or sell signal.",
  "x-guidance": "POST /agentic/call/<tool> with a JSON body {\"arguments\": {...}}; GET /agentic/tools lists tools, input schemas and prices. Add \"quote\": true to get the price without running anything. With an API key (Authorization: Bearer swg_… or X-API-Key, created at https://swoleeswoge.dog/swogeagentic.html) the call is billed from the key owner's $SWOGE balance, within the daily cap they set. Without a key, tools marked x-payment-info answer 402 with a PAYMENT-REQUIRED header (x402 v2, scheme exact; first option USDC on Base, eip155:8453, settled by Coinbase; then on Robinhood Chain, eip155:4663, USDG via eip3009 or SWOGE via permit2): sign and retry with PAYMENT-SIGNATURE and the SAME arguments; the payer pays no gas on either network. Every number from the SWOGE AI colony comes with its observation count: quote it. Results are measurements, never buy or sell signals. MCP (Streamable HTTP, same key): /mcp.",
  "contact": {
   "name": "SWOGE WORLD",
   "url": "https://swoleeswoge.dog/swogeagentic.html"
  },
  "x-logo": {
   "url": "https://swoleeswoge.dog/img/site/icone-192.png",
   "altText": "SWOGE"
  }
 },
 "servers": [
  {
   "url": "https://web-production-220a3.up.railway.app"
  }
 ],
 "tags": [
  {
   "name": "crypto",
   "description": "Tokens, markets and on-chain data"
  },
  {
   "name": "robinhood-chain",
   "description": "Robinhood Chain (eip155:4663), measured by the SWOGE AI colony with sample sizes"
  },
  {
   "name": "token-security",
   "description": "Contract checks (Powered by Go+ Security) and what similar tokens did"
  },
  {
   "name": "research",
   "description": "Web search, OSINT and a research agent"
  },
  {
   "name": "ai-models",
   "description": "Frontier AI models (Claude, GPT-6, Grok) paid per call, OpenAI format"
  },
  {
   "name": "osint",
   "description": "Passive reconnaissance on infrastructure and deployer wallets"
  },
  {
   "name": "images",
   "description": "Image generation (Grok Imagine, ChatGPT Image)"
  },
  {
   "name": "base",
   "description": "Base (eip155:8453) memecoin launches (Clanker, Zora) read on-chain, with deployer records"
  },
  {
   "name": "randomness",
   "description": "Provably fair draws: commit, draw, verify (HMAC-SHA256, no bias)"
  },
  {
   "name": "video",
   "description": "Short video generation (Grok Imagine)"
  },
  {
   "name": "esim",
   "description": "Travel data eSIM: free search, bought per purchase in USDC with x402, no account"
  },
  {
   "name": "payments",
   "description": "Pay other x402 services with your API key, within the owner's limits, with a hash-chained audit"
  },
  {
   "name": "catalogue",
   "description": "The live tool list, prices and x402 status"
  }
 ],
 "paths": {
  "/agentic/call/scan_token": {
   "post": {
    "operationId": "scan_token",
    "summary": "Use this before buying, listing or writing about an EVM token, to check its market and its contract in one call (contract security Powered by Go+ Security, https://gopluslabs.io)",
    "description": "Use this before buying, listing or writing about an EVM token, to check its market and its contract in one call (contract security Powered by Go+ Security, https://gopluslabs.io). Give the contract address (0x…), on any chain DexScreener indexes. Returns the deepest pool (price, liquidity, market cap, 24 h volume and change, from DexScreener), the GoPlus contract checks where GoPlus covers the chain (honeypot, buy and sell tax, mint, pause, blacklist, hidden owner, holder concentration) and, for Robinhood Chain tokens, the average 30-minute move the SWOGE AI colony measured on past tokens sharing each trait, with its number of observations, plus a shareable scan card. Measurements, never a buy or sell signal; unknown stays unknown. With an API key: $0.01 per call, billed in $SWOGE at the live price. Without a key (x402): $0.02 now, in USDC on Base or USDG or $SWOGE on Robinhood Chain (tool price + settlement cost, minimum $0.02; the payer pays no gas on either network); the 402 quotes the exact amount for your arguments.",
    "tags": [
     "token-security",
     "crypto",
     "robinhood-chain"
    ],
    "requestBody": {
     "required": true,
     "content": {
      "application/json": {
       "schema": {
        "type": "object",
        "properties": {
         "arguments": {
          "type": "object",
          "properties": {
           "address": {
            "type": "string",
            "description": "EVM contract address, 0x followed by 40 hex characters"
           }
          },
          "required": [
           "address"
          ]
         },
         "quote": {
          "type": "boolean",
          "description": "true: return the price of this call without running or charging it"
         }
        },
        "required": [
         "arguments"
        ]
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "The tool result: `resultat` (data), `texte` (the same, as text for a model) and the receipt — `facture`, `solde`, `recu` with an API key, `x402` without one",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "ok": {
           "type": "boolean",
           "const": true
          },
          "outil": {
           "type": "string",
           "const": "scan_token"
          },
          "resultat": {
           "type": "object",
           "properties": {
            "token": {
             "type": "object",
             "properties": {
              "adresse": {
               "type": "string",
               "description": "contract address, lowercase"
              },
              "trouve": {
               "type": "boolean",
               "description": "false when DexScreener knows no pool for it"
              },
              "sym": {
               "type": [
                "string",
                "null"
               ],
               "description": "symbol"
              },
              "nom": {
               "type": [
                "string",
                "null"
               ],
               "description": "name"
              },
              "chaine": {
               "type": [
                "string",
                "null"
               ],
               "description": "DexScreener chain id of the deepest pool (robinhood, ethereum, base…)"
              },
              "prixUsd": {
               "type": [
                "number",
                "null"
               ],
               "description": "price, USD"
              },
              "liqUsd": {
               "type": [
                "number",
                "null"
               ],
               "description": "liquidity of the deepest pool, USD"
              },
              "mcUsd": {
               "type": [
                "number",
                "null"
               ],
               "description": "market cap (or FDV), USD"
              },
              "vol24Usd": {
               "type": [
                "number",
                "null"
               ],
               "description": "24 h volume, USD"
              },
              "var24h": {
               "type": [
                "number",
                "null"
               ],
               "description": "24 h price change, %"
              },
              "url": {
               "type": [
                "string",
                "null"
               ],
               "description": "DexScreener pool page"
              },
              "securite": {
               "type": "string",
               "enum": [
                "read",
                "unknown",
                "uncovered",
                "failed"
               ],
               "description": "GoPlus: read; unknown (no record yet — not good news); uncovered (chain not covered); failed"
              },
              "honeypot": {
               "type": [
                "boolean",
                "null"
               ],
               "description": "GoPlus honeypot flag (null: unknown)"
              },
              "taxeAchat": {
               "type": [
                "number",
                "null"
               ],
               "description": "buy tax, %"
              },
              "taxeVente": {
               "type": [
                "number",
                "null"
               ],
               "description": "sell tax, %"
              },
              "alertes": {
               "type": "array",
               "items": {
                "type": "string"
               },
               "description": "GoPlus red flags in words (Honeypot, Mintable, Blacklist, Hidden owner…)"
              },
              "porteurs": {
               "type": [
                "number",
                "null"
               ],
               "description": "holder count"
              },
              "premierPorteur": {
               "type": [
                "number",
                "null"
               ],
               "description": "largest free wallet, % of supply (contracts, locks and burns excluded)"
              },
              "dixPremiers": {
               "type": [
                "number",
                "null"
               ],
               "description": "top 10 free wallets, % of supply"
              },
              "colonie": {
               "type": [
                "object",
                "null"
               ],
               "properties": {
                "observations": {
                 "type": "number",
                 "description": "observations in the colony memory"
                },
                "scan": {
                 "type": "string",
                 "description": "the SWOGE Scan page of this token"
                },
                "cases": {
                 "type": "array",
                 "items": {
                  "type": "object",
                  "properties": {
                   "trait": {
                    "type": "string",
                    "description": "what was measured, in words"
                   },
                   "case": {
                    "type": "string",
                    "description": "this token's value, in words"
                   },
                   "n": {
                    "type": "number",
                    "description": "observations behind the number"
                   },
                   "moyenne": {
                    "type": "number",
                    "description": "average 30-minute move of past tokens in this cell, %"
                   },
                   "assez": {
                    "type": "boolean",
                    "description": "false under 30 observations: too few to conclude"
                   }
                  },
                  "required": [
                   "trait",
                   "case",
                   "n",
                   "moyenne",
                   "assez"
                  ]
                 },
                 "description": "one line per measurement, strongest first"
                }
               },
               "required": [
                "observations",
                "scan",
                "cases"
               ],
               "description": "Robinhood Chain tokens only: what the SWOGE AI colony measured"
              },
              "attribution": {
               "type": [
                "object",
                "null"
               ],
               "properties": {
                "security": {
                 "type": "string"
                },
                "url": {
                 "type": "string"
                }
               },
               "required": [
                "security",
                "url"
               ],
               "description": "set when GoPlus answered"
              },
              "links": {
               "type": "object",
               "properties": {
                "card": {
                 "type": "string",
                 "description": "shareable scan card, PNG 1200×630"
                },
                "share": {
                 "type": "string",
                 "description": "share page whose link preview is the card"
                },
                "page": {
                 "type": "string",
                 "description": "the scan on swoleeswoge.dog"
                }
               },
               "required": [
                "card",
                "share",
                "page"
               ],
               "description": "when the colony knows the token"
              }
             },
             "required": [
              "adresse",
              "trouve",
              "sym",
              "nom",
              "chaine",
              "prixUsd",
              "liqUsd",
              "mcUsd",
              "vol24Usd",
              "var24h",
              "url",
              "securite",
              "honeypot",
              "taxeAchat",
              "taxeVente",
              "alertes",
              "porteurs",
              "premierPorteur",
              "dixPremiers",
              "colonie",
              "attribution"
             ]
            },
            "sources": {
             "type": "array",
             "items": {
              "type": "object",
              "properties": {
               "url": {
                "type": "string",
                "description": "source URL"
               },
               "titre": {
                "type": "string",
                "description": "source title"
               }
              },
              "required": [
               "url"
              ]
             },
             "description": "DexScreener pool and SWOGE Scan page"
            },
            "attribution": {
             "type": "object",
             "properties": {
              "security": {
               "type": "string",
               "description": "always \"Powered by Go+ Security\""
              },
              "url": {
               "type": "string",
               "description": "https://gopluslabs.io"
              }
             },
             "required": [
              "security",
              "url"
             ],
             "description": "GoPlus attribution: quote the security data with it"
            }
           },
           "required": [
            "token",
            "sources",
            "attribution"
           ]
          },
          "texte": {
           "type": "string",
           "description": "the same result as plain text, written for a language model"
          },
          "facture": {
           "type": "object",
           "properties": {
            "swoge": {
             "type": "string",
             "description": "$SWOGE billed, exact decimal string"
            },
            "usd": {
             "type": "number",
             "description": "USD billed"
            },
            "maxSwoge": {
             "type": "string",
             "description": "video: most it can bill"
            },
            "maxUsd": {
             "type": "number"
            },
            "aLArrivee": {
             "type": "boolean",
             "description": "video: billed when it arrives"
            }
           },
           "required": [
            "swoge",
            "usd"
           ],
           "description": "with an API key: what was billed"
          },
          "solde": {
           "type": "string",
           "description": "with an API key: the $SWOGE balance left"
          },
          "recu": {
           "type": "string",
           "description": "with an API key: the receipt id"
          },
          "x402": {
           "anyOf": [
            {
             "type": "object",
             "properties": {
              "transaction": {
               "type": "string",
               "description": "settlement transaction hash"
              },
              "network": {
               "type": "string",
               "description": "eip155:4663"
              },
              "amount": {
               "type": "string",
               "description": "atomic units paid"
              },
              "asset": {
               "type": "string",
               "description": "token paid (USDG or $SWOGE)"
              }
             },
             "required": [
              "transaction",
              "network",
              "amount",
              "asset"
             ],
             "description": "paid without a key: the x402 settlement (also in the PAYMENT-RESPONSE header)"
            },
            {
             "type": "object",
             "properties": {
              "x402Version": {
               "type": "integer"
              },
              "resource": {
               "type": "object"
              },
              "accepts": {
               "type": "array",
               "items": {
                "type": "object"
               }
              },
              "extensions": {
               "type": "object"
              }
             },
             "required": [
              "accepts"
             ],
             "description": "in a quote without a key: the x402 requirements of this exact call, payable as they are"
            }
           ]
          },
          "devis": {
           "type": "object",
           "description": "with \"quote\": true: the price of this call — nothing run, nothing charged"
          },
          "quote": {
           "type": "boolean",
           "const": true,
           "description": "set on a quote"
          },
          "tool": {
           "type": "string",
           "description": "on a quote: the tool"
          },
          "priceUsd": {
           "type": "number",
           "description": "on a quote: the price (the maximum for a real-cost tool)"
          },
          "howToPay": {
           "type": "string",
           "description": "on a quote: how to pay for this tool, with or without a key"
          }
         },
         "required": [
          "ok",
          "outil"
         ]
        },
        "example": {
         "ok": true,
         "outil": "scan_token",
         "resultat": {
          "token": {
           "adresse": "0x254afb9fd36789bea39fb5656ba6fdb827be8dc5",
           "trouve": true,
           "sym": "LOBSTER",
           "nom": "Lobster",
           "chaine": "robinhood",
           "prixUsd": 0.000008424,
           "liqUsd": 8803.04,
           "mcUsd": 8253,
           "vol24Usd": 1204.7,
           "var24h": -3.1,
           "url": "https://dexscreener.com/robinhood/0x66604bdceb5a54c2c137383171085c3c2260d3d21abe1a77d9180053c9e58c53",
           "securite": "unknown",
           "honeypot": null,
           "taxeAchat": null,
           "taxeVente": null,
           "alertes": [],
           "porteurs": null,
           "premierPorteur": null,
           "dixPremiers": null,
           "colonie": {
            "observations": 147292,
            "scan": "https://swoleeswoge.dog/swoge_scan.html?t=0x254afb9fd36789bea39fb5656ba6fdb827be8dc5",
            "cases": [
             {
              "trait": "Contract bytecode",
              "case": "bytecode: no mint, no blacklist, no pause, no fee setter",
              "n": 2395,
              "moyenne": 16.9,
              "assez": true
             },
             {
              "trait": "Social links",
              "case": "3+ socials",
              "n": 1087,
              "moyenne": 16.5,
              "assez": true
             },
             {
              "trait": "Launchpad",
              "case": "not from a launchpad",
              "n": 52584,
              "moyenne": 5.5,
              "assez": true
             },
             {
              "trait": "Launcher history",
              "case": "no launchpad record",
              "n": 57003,
              "moyenne": 4.5,
              "assez": true
             },
             {
              "trait": "Market cap",
              "case": "cap <$10k",
              "n": 32821,
              "moyenne": -4.3,
              "assez": true
             },
             {
              "trait": "How the colony found it",
              "case": "found via pools",
              "n": 51335,
              "moyenne": 3.7,
              "assez": true
             }
            ]
           },
           "attribution": {
            "security": "Powered by Go+ Security",
            "url": "https://gopluslabs.io"
           },
           "links": {
            "card": "https://web-production-220a3.up.railway.app/scan/carte/0x254afb9fd36789bea39fb5656ba6fdb827be8dc5.png",
            "share": "https://web-production-220a3.up.railway.app/s/0x254afb9fd36789bea39fb5656ba6fdb827be8dc5",
            "page": "https://swoleeswoge.dog/swoge_scan.html?t=0x254afb9fd36789bea39fb5656ba6fdb827be8dc5"
           }
          },
          "sources": [
           {
            "url": "https://dexscreener.com/robinhood/0x66604bdceb5a54c2c137383171085c3c2260d3d21abe1a77d9180053c9e58c53",
            "titre": "DexScreener · $LOBSTER"
           },
           {
            "url": "https://swoleeswoge.dog/swoge_scan.html?t=0x254afb9fd36789bea39fb5656ba6fdb827be8dc5",
            "titre": "SWOGE Scan · $LOBSTER"
           }
          ],
          "attribution": {
           "security": "Powered by Go+ Security",
           "url": "https://gopluslabs.io"
          }
         },
         "texte": "Token 0x254afb9fd36789bea39fb5656ba6fdb827be8dc5:\n- Market (DexScreener, deepest of 1 pool): $LOBSTER \"Lobster\" on robinhood (uniswap), price $0.000008424, liquidity $8,803, market cap $8,253…",
         "x402": {
          "transaction": "0x8c1f3e2d4b5a69788796a5b4c3d2e1f00f1e2d3c4b5a69788796a5b4c3d2e1f0",
          "network": "eip155:8453",
          "amount": "20000",
          "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"
         }
        }
       }
      }
     },
     "400": {
      "description": "Invalid arguments — nothing is charged"
     },
     "401": {
      "description": "An API key was sent but is unknown or revoked"
     },
     "402": {
      "description": "Payment Required — without a key, the x402 v2 challenge for this exact request (also base64 in the PAYMENT-REQUIRED header); with an API key, the balance or the daily cap is too low",
      "headers": {
       "PAYMENT-REQUIRED": {
        "description": "base64 JSON of the x402 v2 PaymentRequired object",
        "schema": {
         "type": "string"
        }
       }
      },
      "content": {
       "application/json": {
        "schema": {
         "anyOf": [
          {
           "$ref": "#/components/schemas/PaymentRequired"
          },
          {
           "$ref": "#/components/schemas/KeyRefusal"
          }
         ]
        },
        "example": {
         "ok": false,
         "x402Version": 2,
         "error": "PAYMENT-SIGNATURE header is required",
         "resource": {
          "url": "https://web-production-220a3.up.railway.app/agentic/call/scan_token",
          "description": "SwogeAgentic tool scan_token. Price: $0.02 in USDC on Base, or $0.02 in USDG or $SWOGE on Robinhood Chain (tool price + settlement cost, minimum $0.02).",
          "mimeType": "application/json"
         },
         "accepts": [
          {
           "scheme": "exact",
           "network": "eip155:8453",
           "amount": "20000",
           "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
           "payTo": "0xE81C67c086c83997b41673e1e41e481c14D756F6",
           "maxTimeoutSeconds": 120,
           "extra": {
            "name": "USD Coin",
            "version": "2"
           }
          },
          {
           "scheme": "exact",
           "network": "eip155:4663",
           "amount": "20000",
           "asset": "0x5fc5360D0400a0Fd4f2af552ADD042D716F1d168",
           "payTo": "0xE81C67c086c83997b41673e1e41e481c14D756F6",
           "maxTimeoutSeconds": 120,
           "extra": {
            "assetTransferMethod": "eip3009",
            "name": "Global Dollar",
            "version": "1"
           }
          },
          {
           "scheme": "exact",
           "network": "eip155:4663",
           "amount": "5494945327039461517415",
           "asset": "0x8a166Fb41Cd659a0a43396272FF73973Ce29F817",
           "payTo": "0xE81C67c086c83997b41673e1e41e481c14D756F6",
           "maxTimeoutSeconds": 120,
           "extra": {
            "assetTransferMethod": "permit2",
            "name": "Swole Doge",
            "version": "1"
           }
          }
         ],
         "extensions": {
          "eip2612GasSponsoring": {
           "info": {
            "description": "The server accepts an EIP-2612 permit to the canonical Permit2 contract (value = the exact payment amount) and pays the gas.",
            "version": "1"
           }
          }
         }
        }
       }
      }
     },
     "429": {
      "description": "Too many calls (60 per minute per key) or too many free quotes"
     },
     "502": {
      "description": "The tool or its provider failed — nothing is charged"
     },
     "503": {
      "description": "Unavailable right now (price or provider) — nothing is charged"
     }
    },
    "security": [
     {
      "cleApi": []
     },
     {}
    ],
    "x-payment-info": {
     "protocols": [
      {
       "x402": {}
      }
     ],
     "price": {
      "mode": "fixed",
      "currency": "USD",
      "amount": "0.020000"
     }
    }
   }
  },
  "/agentic/call/can_i_sell": {
   "post": {
    "operationId": "can_i_sell",
    "summary": "Use this right before buying a Robinhood Chain token, to know whether you could sell it back and at what cost",
    "description": "Use this right before buying a Robinhood Chain token, to know whether you could sell it back and at what cost. Simulates the exit on-chain, read-only: real holders try to send the token to the pool, and a buy-then-sell round trip of a small order is quoted on Uniswap. Returns a verdict (sellable, costly, blocked, or partial when only the transfer could be tested), the round-trip return and cost, the transfer test and the share of LP tokens burned. Only an answer is billed: an unknown token or an untestable exit costs nothing. A simulation of now, never a buy or sell signal. With an API key: $0.008 per call, billed in $SWOGE at the live price. Without a key (x402): $0.01 now in USDC on Base, $0.02 on Robinhood Chain, in USDC on Base or USDG or $SWOGE on Robinhood Chain (tool price + settlement cost, minimum $0.02; the payer pays no gas on either network); the 402 quotes the exact amount for your arguments.",
    "tags": [
     "token-security",
     "crypto",
     "robinhood-chain"
    ],
    "requestBody": {
     "required": true,
     "content": {
      "application/json": {
       "schema": {
        "type": "object",
        "properties": {
         "arguments": {
          "type": "object",
          "properties": {
           "address": {
            "type": "string",
            "description": "token contract address on Robinhood Chain, 0x followed by 40 hex characters"
           }
          },
          "required": [
           "address"
          ]
         },
         "quote": {
          "type": "boolean",
          "description": "true: return the price of this call without running or charging it"
         }
        },
        "required": [
         "arguments"
        ]
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "The tool result: `resultat` (data), `texte` (the same, as text for a model) and the receipt — `facture`, `solde`, `recu` with an API key, `x402` without one",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "ok": {
           "type": "boolean",
           "const": true
          },
          "outil": {
           "type": "string",
           "const": "can_i_sell"
          },
          "resultat": {
           "type": "object",
           "properties": {
            "token": {
             "type": "object",
             "properties": {
              "address": {
               "type": "string",
               "description": "token contract, lower case"
              },
              "symbol": {
               "type": [
                "string",
                "null"
               ],
               "description": "symbol from DexScreener"
              },
              "chain": {
               "type": "string",
               "description": "always robinhood"
              },
              "pool": {
               "type": [
                "string",
                "null"
               ],
               "description": "the pool tested (address, or a Uniswap v4 id)"
              },
              "ageMinutes": {
               "type": [
                "number",
                "null"
               ],
               "description": "pool age, minutes"
              },
              "liquidityUsd": {
               "type": [
                "number",
                "null"
               ],
               "description": "pool liquidity, USD"
              },
              "marketCapUsd": {
               "type": [
                "number",
                "null"
               ],
               "description": "market cap, USD"
              }
             },
             "required": [
              "address",
              "symbol",
              "chain",
              "pool",
              "ageMinutes",
              "liquidityUsd",
              "marketCapUsd"
             ]
            },
            "verdict": {
             "type": "string",
             "enum": [
              "sellable",
              "costly",
              "blocked",
              "partial"
             ],
             "description": "sellable, costly (round trip above the SWOGE colony ceiling), blocked, or partial (transfer tested, no round-trip quote)"
            },
            "why": {
             "type": "string",
             "description": "the reason for the verdict, in one sentence"
            },
            "transfer": {
             "type": "object",
             "properties": {
              "tested": {
               "type": "boolean",
               "description": "whether holders could be simulated"
              },
              "tries": {
               "type": "number",
               "description": "holders tried"
              },
              "refused": {
               "type": "number",
               "description": "holders refused"
              },
              "target": {
               "type": [
                "string",
                "null"
               ],
               "description": "where the token was sent: pool, market maker or largest holder"
              },
              "reason": {
               "type": [
                "string",
                "null"
               ],
               "description": "why it was not tested"
              }
             },
             "required": [
              "tested",
              "tries",
              "refused",
              "target",
              "reason"
             ]
            },
            "roundTrip": {
             "type": "object",
             "properties": {
              "quoted": {
               "type": "boolean",
               "description": "whether a buy-then-sell was quoted"
              },
              "returnPct": {
               "type": "number",
               "description": "share of the stake a round trip returns, %"
              },
              "costPct": {
               "type": "number",
               "description": "fees and depth, %"
              },
              "minReturnPct": {
               "type": "number",
               "description": "below this return, the exit counts as blocked"
              },
              "probeEth": {
               "type": [
                "number",
                "null"
               ],
               "description": "order size quoted, ETH"
              },
              "uniswap": {
               "type": [
                "string",
                "null"
               ],
               "description": "Uniswap version quoted"
              },
              "maxCostPct": {
               "type": "number",
               "description": "the round-trip cost the SWOGE colony itself accepts, %"
              },
              "reason": {
               "type": "string",
               "description": "why no quote"
              }
             },
             "required": [
              "quoted"
             ]
            },
            "liquidity": {
             "type": "object",
             "properties": {
              "lpTokenRead": {
               "type": "boolean",
               "description": "whether the pool has a readable LP token"
              },
              "burnedPct": {
               "type": "number",
               "description": "share of LP tokens burned, %"
              },
              "reason": {
               "type": [
                "string",
                "null"
               ],
               "description": "why it was not read"
              }
             },
             "required": [
              "lpTokenRead"
             ]
            },
            "checkedAt": {
             "type": "string",
             "description": "when, ISO 8601 UTC"
            },
            "limits": {
             "type": "string",
             "description": "what a simulation cannot see"
            }
           },
           "required": [
            "token",
            "verdict",
            "why",
            "transfer",
            "roundTrip",
            "liquidity",
            "checkedAt",
            "limits"
           ]
          },
          "texte": {
           "type": "string",
           "description": "the same result as plain text, written for a language model"
          },
          "facture": {
           "type": "object",
           "properties": {
            "swoge": {
             "type": "string",
             "description": "$SWOGE billed, exact decimal string"
            },
            "usd": {
             "type": "number",
             "description": "USD billed"
            },
            "maxSwoge": {
             "type": "string",
             "description": "video: most it can bill"
            },
            "maxUsd": {
             "type": "number"
            },
            "aLArrivee": {
             "type": "boolean",
             "description": "video: billed when it arrives"
            }
           },
           "required": [
            "swoge",
            "usd"
           ],
           "description": "with an API key: what was billed"
          },
          "solde": {
           "type": "string",
           "description": "with an API key: the $SWOGE balance left"
          },
          "recu": {
           "type": "string",
           "description": "with an API key: the receipt id"
          },
          "x402": {
           "anyOf": [
            {
             "type": "object",
             "properties": {
              "transaction": {
               "type": "string",
               "description": "settlement transaction hash"
              },
              "network": {
               "type": "string",
               "description": "eip155:4663"
              },
              "amount": {
               "type": "string",
               "description": "atomic units paid"
              },
              "asset": {
               "type": "string",
               "description": "token paid (USDG or $SWOGE)"
              }
             },
             "required": [
              "transaction",
              "network",
              "amount",
              "asset"
             ],
             "description": "paid without a key: the x402 settlement (also in the PAYMENT-RESPONSE header)"
            },
            {
             "type": "object",
             "properties": {
              "x402Version": {
               "type": "integer"
              },
              "resource": {
               "type": "object"
              },
              "accepts": {
               "type": "array",
               "items": {
                "type": "object"
               }
              },
              "extensions": {
               "type": "object"
              }
             },
             "required": [
              "accepts"
             ],
             "description": "in a quote without a key: the x402 requirements of this exact call, payable as they are"
            }
           ]
          },
          "devis": {
           "type": "object",
           "description": "with \"quote\": true: the price of this call — nothing run, nothing charged"
          },
          "quote": {
           "type": "boolean",
           "const": true,
           "description": "set on a quote"
          },
          "tool": {
           "type": "string",
           "description": "on a quote: the tool"
          },
          "priceUsd": {
           "type": "number",
           "description": "on a quote: the price (the maximum for a real-cost tool)"
          },
          "howToPay": {
           "type": "string",
           "description": "on a quote: how to pay for this tool, with or without a key"
          }
         },
         "required": [
          "ok",
          "outil"
         ]
        },
        "example": {
         "ok": true,
         "outil": "can_i_sell",
         "resultat": {
          "token": {
           "address": "0x254afb9fd36789bea39fb5656ba6fdb827be8dc5",
           "symbol": "LOBSTER",
           "chain": "robinhood",
           "pool": "0x2dc0fb72d9284228046cc95910eeaabebfe48456",
           "ageMinutes": 42.3,
           "liquidityUsd": 21000,
           "marketCapUsd": 64000
          },
          "verdict": "sellable",
          "why": "a round trip returns 97.2% of the stake (2.8% in fees and depth), and holders can send it to the pool",
          "transfer": {
           "tested": true,
           "tries": 3,
           "refused": 0,
           "target": "pool",
           "reason": null
          },
          "roundTrip": {
           "quoted": true,
           "returnPct": 97.2,
           "costPct": 2.8,
           "minReturnPct": 60,
           "probeEth": 0.01,
           "uniswap": "v2",
           "maxCostPct": 4
          },
          "liquidity": {
           "lpTokenRead": true,
           "burnedPct": 100
          },
          "checkedAt": "2026-09-27T12:00:00.000Z",
          "limits": "A read-only simulation of what the pool would return NOW for a small order. It cannot see a blacklist that closes after you buy, liquidity pulled later, or a tax changed later. Measurements, never a buy or sell signal."
         },
         "texte": "Exit test for $LOBSTER 0x254afb9fd36789bea39fb5656ba6fdb827be8dc5 on Robinhood Chain: SELLABLE — a round trip returns 97.2% of the stake (2.8% in fees and depth)…",
         "x402": {
          "transaction": "0x8c1f3e2d4b5a69788796a5b4c3d2e1f00f1e2d3c4b5a69788796a5b4c3d2e1f0",
          "network": "eip155:8453",
          "amount": "10000",
          "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"
         }
        }
       }
      }
     },
     "400": {
      "description": "Invalid arguments — nothing is charged"
     },
     "401": {
      "description": "An API key was sent but is unknown or revoked"
     },
     "402": {
      "description": "Payment Required — without a key, the x402 v2 challenge for this exact request (also base64 in the PAYMENT-REQUIRED header); with an API key, the balance or the daily cap is too low",
      "headers": {
       "PAYMENT-REQUIRED": {
        "description": "base64 JSON of the x402 v2 PaymentRequired object",
        "schema": {
         "type": "string"
        }
       }
      },
      "content": {
       "application/json": {
        "schema": {
         "anyOf": [
          {
           "$ref": "#/components/schemas/PaymentRequired"
          },
          {
           "$ref": "#/components/schemas/KeyRefusal"
          }
         ]
        },
        "example": {
         "ok": false,
         "x402Version": 2,
         "error": "PAYMENT-SIGNATURE header is required",
         "resource": {
          "url": "https://web-production-220a3.up.railway.app/agentic/call/can_i_sell",
          "description": "SwogeAgentic tool can_i_sell. Price: $0.01 in USDC on Base, or $0.02 in USDG or $SWOGE on Robinhood Chain (tool price + settlement cost, minimum $0.02).",
          "mimeType": "application/json"
         },
         "accepts": [
          {
           "scheme": "exact",
           "network": "eip155:8453",
           "amount": "10000",
           "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
           "payTo": "0xE81C67c086c83997b41673e1e41e481c14D756F6",
           "maxTimeoutSeconds": 120,
           "extra": {
            "name": "USD Coin",
            "version": "2"
           }
          },
          {
           "scheme": "exact",
           "network": "eip155:4663",
           "amount": "20000",
           "asset": "0x5fc5360D0400a0Fd4f2af552ADD042D716F1d168",
           "payTo": "0xE81C67c086c83997b41673e1e41e481c14D756F6",
           "maxTimeoutSeconds": 120,
           "extra": {
            "assetTransferMethod": "eip3009",
            "name": "Global Dollar",
            "version": "1"
           }
          },
          {
           "scheme": "exact",
           "network": "eip155:4663",
           "amount": "5494945327039461517415",
           "asset": "0x8a166Fb41Cd659a0a43396272FF73973Ce29F817",
           "payTo": "0xE81C67c086c83997b41673e1e41e481c14D756F6",
           "maxTimeoutSeconds": 120,
           "extra": {
            "assetTransferMethod": "permit2",
            "name": "Swole Doge",
            "version": "1"
           }
          }
         ],
         "extensions": {
          "eip2612GasSponsoring": {
           "info": {
            "description": "The server accepts an EIP-2612 permit to the canonical Permit2 contract (value = the exact payment amount) and pays the gas.",
            "version": "1"
           }
          }
         }
        }
       }
      }
     },
     "429": {
      "description": "Too many calls (60 per minute per key) or too many free quotes"
     },
     "502": {
      "description": "The tool or its provider failed — nothing is charged"
     },
     "503": {
      "description": "Unavailable right now (price or provider) — nothing is charged"
     }
    },
    "security": [
     {
      "cleApi": []
     },
     {}
    ],
    "x-payment-info": {
     "protocols": [
      {
       "x402": {}
      }
     ],
     "price": {
      "mode": "dynamic",
      "currency": "USD",
      "min": "0.010000",
      "max": "0.020000"
     }
    }
   }
  },
  "/agentic/call/colony_activity": {
   "post": {
    "operationId": "colony_activity",
    "summary": "Use this when you want to know what the SWOGE AI colony, an autonomous paper-trading colony on Robinhood Chain, holds or did recently, overall or on one token",
    "description": "Use this when you want to know what the SWOGE AI colony, an autonomous paper-trading colony on Robinhood Chain, holds or did recently, overall or on one token. Returns its open positions, latest buys and sells with results and reasons, its paper ledger (trades, average result, share of winners) and the record of the mirror that repeats some trades with real money. Optionally filtered to one token symbol or address. Paper trades are measurements, never advice. With an API key: $0.005 per call, billed in $SWOGE at the live price. Without a key (x402): $0.02 now, in USDC on Base or USDG or $SWOGE on Robinhood Chain (tool price + settlement cost, minimum $0.02; the payer pays no gas on either network); the 402 quotes the exact amount for your arguments.",
    "tags": [
     "robinhood-chain",
     "crypto"
    ],
    "requestBody": {
     "required": true,
     "content": {
      "application/json": {
       "schema": {
        "type": "object",
        "properties": {
         "arguments": {
          "type": "object",
          "properties": {
           "token": {
            "type": "string",
            "description": "optional token symbol (e.g. TELEPAD) or address to filter on"
           }
          }
         },
         "quote": {
          "type": "boolean",
          "description": "true: return the price of this call without running or charging it"
         }
        },
        "required": [
         "arguments"
        ]
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "The tool result: `resultat` (data), `texte` (the same, as text for a model) and the receipt — `facture`, `solde`, `recu` with an API key, `x402` without one",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "ok": {
           "type": "boolean",
           "const": true
          },
          "outil": {
           "type": "string",
           "const": "colony_activity"
          },
          "resultat": {
           "type": "object",
           "properties": {
            "note": {
             "type": "string",
             "description": "what these numbers are"
            },
            "status": {
             "type": "string",
             "enum": [
              "running",
              "paused"
             ]
            },
            "rounds": {
             "type": "number",
             "description": "rounds played"
            },
            "lastRound": {
             "type": [
              "string",
              "null"
             ],
             "description": "last round, UTC"
            },
            "paperTreasuryUsd": {
             "type": "number",
             "description": "paper treasury, USD"
            },
            "paperStartUsd": {
             "type": "number",
             "description": "paper start, USD"
            },
            "openPositions": {
             "type": "array",
             "items": {
              "type": "object",
              "properties": {
               "sym": {
                "type": "string"
               },
               "address": {
                "type": "string"
               },
               "heldMinutes": {
                "type": [
                 "number",
                 "null"
                ],
                "description": "minutes held"
               },
               "unrealisedPct": {
                "type": "number",
                "description": "unrealised result, %"
               },
               "stakeUsd": {
                "type": "number",
                "description": "paper stake, USD"
               },
               "capAtBuyUsd": {
                "type": "number",
                "description": "market cap at buy, USD"
               }
              },
              "required": []
             }
            },
            "latestSignals": {
             "type": "array",
             "items": {
              "type": "object",
              "properties": {
               "kind": {
                "type": "string",
                "enum": [
                 "buy",
                 "sell"
                ]
               },
               "sym": {
                "type": "string"
               },
               "address": {
                "type": "string"
               },
               "capUsd": {
                "type": "number",
                "description": "market cap, USD"
               },
               "resultPct": {
                "type": "number",
                "description": "result of a sell, %"
               },
               "why": {
                "type": "string",
                "description": "the reason given"
               },
               "at": {
                "type": [
                 "string",
                 "null"
                ],
                "description": "UTC"
               }
              },
              "required": []
             },
             "description": "at most 15, newest first"
            },
            "paperLedger": {
             "type": [
              "object",
              "null"
             ],
             "properties": {
              "trades": {
               "type": "number"
              },
              "averagePct": {
               "type": "number",
               "description": "average result per trade, %"
              },
              "winnersPct": {
               "type": "number",
               "description": "share of winning trades, %"
              }
             },
             "required": [],
             "description": "all paper trades"
            },
            "realMirror": {
             "type": [
              "object",
              "null"
             ],
             "properties": {
              "trades": {
               "type": "number"
              },
              "averagePct": {
               "type": "number",
               "description": "average result per trade, %"
              }
             },
             "required": [],
             "description": "trades the mirror repeated with real money"
            }
           },
           "required": [
            "note",
            "status",
            "lastRound",
            "openPositions",
            "latestSignals",
            "paperLedger",
            "realMirror"
           ]
          },
          "texte": {
           "type": "string",
           "description": "the same result as plain text, written for a language model"
          },
          "facture": {
           "type": "object",
           "properties": {
            "swoge": {
             "type": "string",
             "description": "$SWOGE billed, exact decimal string"
            },
            "usd": {
             "type": "number",
             "description": "USD billed"
            },
            "maxSwoge": {
             "type": "string",
             "description": "video: most it can bill"
            },
            "maxUsd": {
             "type": "number"
            },
            "aLArrivee": {
             "type": "boolean",
             "description": "video: billed when it arrives"
            }
           },
           "required": [
            "swoge",
            "usd"
           ],
           "description": "with an API key: what was billed"
          },
          "solde": {
           "type": "string",
           "description": "with an API key: the $SWOGE balance left"
          },
          "recu": {
           "type": "string",
           "description": "with an API key: the receipt id"
          },
          "x402": {
           "anyOf": [
            {
             "type": "object",
             "properties": {
              "transaction": {
               "type": "string",
               "description": "settlement transaction hash"
              },
              "network": {
               "type": "string",
               "description": "eip155:4663"
              },
              "amount": {
               "type": "string",
               "description": "atomic units paid"
              },
              "asset": {
               "type": "string",
               "description": "token paid (USDG or $SWOGE)"
              }
             },
             "required": [
              "transaction",
              "network",
              "amount",
              "asset"
             ],
             "description": "paid without a key: the x402 settlement (also in the PAYMENT-RESPONSE header)"
            },
            {
             "type": "object",
             "properties": {
              "x402Version": {
               "type": "integer"
              },
              "resource": {
               "type": "object"
              },
              "accepts": {
               "type": "array",
               "items": {
                "type": "object"
               }
              },
              "extensions": {
               "type": "object"
              }
             },
             "required": [
              "accepts"
             ],
             "description": "in a quote without a key: the x402 requirements of this exact call, payable as they are"
            }
           ]
          },
          "devis": {
           "type": "object",
           "description": "with \"quote\": true: the price of this call — nothing run, nothing charged"
          },
          "quote": {
           "type": "boolean",
           "const": true,
           "description": "set on a quote"
          },
          "tool": {
           "type": "string",
           "description": "on a quote: the tool"
          },
          "priceUsd": {
           "type": "number",
           "description": "on a quote: the price (the maximum for a real-cost tool)"
          },
          "howToPay": {
           "type": "string",
           "description": "on a quote: how to pay for this tool, with or without a key"
          }
         },
         "required": [
          "ok",
          "outil"
         ]
        },
        "example": {
         "ok": true,
         "outil": "colony_activity",
         "resultat": {
          "note": "Paper trades of an autonomous colony: measurements, never advice. The mirror executes some of them with real money.",
          "status": "running",
          "rounds": 14949,
          "lastRound": "2026-09-26 18:42 UTC",
          "paperTreasuryUsd": 3174.6,
          "paperStartUsd": 1000,
          "openPositions": [
           {
            "sym": "TELEPAD",
            "address": "0x7d1c0e6f0bb1a1b0c95f8c1e4b6f3a2d9e8c7b61",
            "heldMinutes": 13,
            "unrealisedPct": 25.7,
            "stakeUsd": 94.97,
            "capAtBuyUsd": 39078
           }
          ],
          "latestSignals": [
           {
            "kind": "sell",
            "sym": "NOIR",
            "address": "0x5b3e9a4c2d1f0e8b7a6c5d4e3f2a1b0c9d8e7f6a",
            "capUsd": 21400,
            "resultPct": -22.2,
            "why": "Duration reached",
            "at": "2026-09-26 18:40 UTC"
           },
           {
            "kind": "buy",
            "sym": "TELEPAD",
            "address": "0x7d1c0e6f0bb1a1b0c95f8c1e4b6f3a2d9e8c7b61",
            "capUsd": 40325,
            "at": "2026-09-26 18:29 UTC"
           }
          ],
          "paperLedger": {
           "trades": 285,
           "averagePct": 1.9,
           "winnersPct": 47
          },
          "realMirror": {
           "trades": 272,
           "averagePct": -3.5
          }
         },
         "texte": "{\"note\":\"Paper trades of an autonomous colony: measurements, never advice. The mirror executes some of them with real money.\",\"status\":\"running\",\"rounds\":14949,",
         "x402": {
          "transaction": "0x8c1f3e2d4b5a69788796a5b4c3d2e1f00f1e2d3c4b5a69788796a5b4c3d2e1f0",
          "network": "eip155:8453",
          "amount": "20000",
          "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"
         }
        }
       }
      }
     },
     "400": {
      "description": "Invalid arguments — nothing is charged"
     },
     "401": {
      "description": "An API key was sent but is unknown or revoked"
     },
     "402": {
      "description": "Payment Required — without a key, the x402 v2 challenge for this exact request (also base64 in the PAYMENT-REQUIRED header); with an API key, the balance or the daily cap is too low",
      "headers": {
       "PAYMENT-REQUIRED": {
        "description": "base64 JSON of the x402 v2 PaymentRequired object",
        "schema": {
         "type": "string"
        }
       }
      },
      "content": {
       "application/json": {
        "schema": {
         "anyOf": [
          {
           "$ref": "#/components/schemas/PaymentRequired"
          },
          {
           "$ref": "#/components/schemas/KeyRefusal"
          }
         ]
        },
        "example": {
         "ok": false,
         "x402Version": 2,
         "error": "PAYMENT-SIGNATURE header is required",
         "resource": {
          "url": "https://web-production-220a3.up.railway.app/agentic/call/colony_activity",
          "description": "SwogeAgentic tool colony_activity. Price: $0.02 in USDC on Base, or $0.02 in USDG or $SWOGE on Robinhood Chain (tool price + settlement cost, minimum $0.02).",
          "mimeType": "application/json"
         },
         "accepts": [
          {
           "scheme": "exact",
           "network": "eip155:8453",
           "amount": "20000",
           "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
           "payTo": "0xE81C67c086c83997b41673e1e41e481c14D756F6",
           "maxTimeoutSeconds": 120,
           "extra": {
            "name": "USD Coin",
            "version": "2"
           }
          },
          {
           "scheme": "exact",
           "network": "eip155:4663",
           "amount": "20000",
           "asset": "0x5fc5360D0400a0Fd4f2af552ADD042D716F1d168",
           "payTo": "0xE81C67c086c83997b41673e1e41e481c14D756F6",
           "maxTimeoutSeconds": 120,
           "extra": {
            "assetTransferMethod": "eip3009",
            "name": "Global Dollar",
            "version": "1"
           }
          },
          {
           "scheme": "exact",
           "network": "eip155:4663",
           "amount": "5494945327039461517415",
           "asset": "0x8a166Fb41Cd659a0a43396272FF73973Ce29F817",
           "payTo": "0xE81C67c086c83997b41673e1e41e481c14D756F6",
           "maxTimeoutSeconds": 120,
           "extra": {
            "assetTransferMethod": "permit2",
            "name": "Swole Doge",
            "version": "1"
           }
          }
         ],
         "extensions": {
          "eip2612GasSponsoring": {
           "info": {
            "description": "The server accepts an EIP-2612 permit to the canonical Permit2 contract (value = the exact payment amount) and pays the gas.",
            "version": "1"
           }
          }
         }
        }
       }
      }
     },
     "429": {
      "description": "Too many calls (60 per minute per key) or too many free quotes"
     },
     "502": {
      "description": "The tool or its provider failed — nothing is charged"
     },
     "503": {
      "description": "Unavailable right now (price or provider) — nothing is charged"
     }
    },
    "security": [
     {
      "cleApi": []
     },
     {}
    ],
    "x-payment-info": {
     "protocols": [
      {
       "x402": {}
      }
     ],
     "price": {
      "mode": "fixed",
      "currency": "USD",
      "amount": "0.020000"
     }
    }
   }
  },
  "/agentic/call/swoge_economy": {
   "post": {
    "operationId": "swoge_economy",
    "summary": "Use this when you need the current state of the $SWOGE token economy",
    "description": "Use this when you need the current state of the $SWOGE token economy. Returns total supply, the amount burned and the casino vault balance (each with its share of supply), the staking APR and cap, read on-chain on Robinhood Chain, and the $SWOGE price in USD from DexScreener. With an API key: $0.001 per call, billed in $SWOGE at the live price. Without a key (x402): $0.02 now, in USDC on Base or USDG or $SWOGE on Robinhood Chain (tool price + settlement cost, minimum $0.02; the payer pays no gas on either network); the 402 quotes the exact amount for your arguments.",
    "tags": [
     "crypto",
     "robinhood-chain"
    ],
    "requestBody": {
     "required": true,
     "content": {
      "application/json": {
       "schema": {
        "type": "object",
        "properties": {
         "arguments": {
          "type": "object",
          "properties": {}
         },
         "quote": {
          "type": "boolean",
          "description": "true: return the price of this call without running or charging it"
         }
        },
        "required": [
         "arguments"
        ]
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "The tool result: `resultat` (data), `texte` (the same, as text for a model) and the receipt — `facture`, `solde`, `recu` with an API key, `x402` without one",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "ok": {
           "type": "boolean",
           "const": true
          },
          "outil": {
           "type": "string",
           "const": "swoge_economy"
          },
          "resultat": {
           "type": "object",
           "properties": {
            "economy": {
             "type": "object",
             "properties": {
              "ok": {
               "type": "boolean",
               "description": "false when the chain could not be read"
              },
              "frais": {
               "type": "boolean",
               "description": "true: read in the last 5 minutes"
              },
              "lu": {
               "type": [
                "number",
                "null"
               ],
               "description": "when it was read, ms since epoch"
              },
              "jeton": {
               "type": "string",
               "description": "$SWOGE contract"
              },
              "chaine": {
               "type": "number",
               "description": "chain id (4663)"
              },
              "adresseBrulage": {
               "type": "string",
               "description": "burn address"
              },
              "coffreAdresse": {
               "type": [
                "string",
                "null"
               ],
               "description": "casino vault address"
              },
              "offre": {
               "type": [
                "number",
                "null"
               ],
               "description": "total supply"
              },
              "brule": {
               "type": [
                "number",
                "null"
               ],
               "description": "burned"
              },
              "brulePct": {
               "type": [
                "number",
                "null"
               ],
               "description": "burned, % of supply"
              },
              "coffre": {
               "type": [
                "number",
                "null"
               ],
               "description": "casino vault balance"
              },
              "coffrePct": {
               "type": [
                "number",
                "null"
               ],
               "description": "vault, % of supply"
              },
              "stakingAprPct": {
               "type": "number",
               "description": "staking APR, %"
              },
              "stakingPlafond": {
               "type": [
                "number",
                "null"
               ],
               "description": "staking cap, $SWOGE"
              }
             },
             "required": [
              "ok",
              "frais",
              "lu",
              "jeton",
              "chaine",
              "adresseBrulage",
              "coffreAdresse",
              "offre",
              "brule",
              "brulePct",
              "coffre",
              "coffrePct",
              "stakingAprPct",
              "stakingPlafond"
             ],
             "description": "read on-chain"
            },
            "swogePriceUsd": {
             "type": [
              "number",
              "null"
             ],
             "description": "$SWOGE price, USD"
            },
            "source": {
             "type": "string"
            }
           },
           "required": [
            "economy",
            "swogePriceUsd",
            "source"
           ]
          },
          "texte": {
           "type": "string",
           "description": "the same result as plain text, written for a language model"
          },
          "facture": {
           "type": "object",
           "properties": {
            "swoge": {
             "type": "string",
             "description": "$SWOGE billed, exact decimal string"
            },
            "usd": {
             "type": "number",
             "description": "USD billed"
            },
            "maxSwoge": {
             "type": "string",
             "description": "video: most it can bill"
            },
            "maxUsd": {
             "type": "number"
            },
            "aLArrivee": {
             "type": "boolean",
             "description": "video: billed when it arrives"
            }
           },
           "required": [
            "swoge",
            "usd"
           ],
           "description": "with an API key: what was billed"
          },
          "solde": {
           "type": "string",
           "description": "with an API key: the $SWOGE balance left"
          },
          "recu": {
           "type": "string",
           "description": "with an API key: the receipt id"
          },
          "x402": {
           "anyOf": [
            {
             "type": "object",
             "properties": {
              "transaction": {
               "type": "string",
               "description": "settlement transaction hash"
              },
              "network": {
               "type": "string",
               "description": "eip155:4663"
              },
              "amount": {
               "type": "string",
               "description": "atomic units paid"
              },
              "asset": {
               "type": "string",
               "description": "token paid (USDG or $SWOGE)"
              }
             },
             "required": [
              "transaction",
              "network",
              "amount",
              "asset"
             ],
             "description": "paid without a key: the x402 settlement (also in the PAYMENT-RESPONSE header)"
            },
            {
             "type": "object",
             "properties": {
              "x402Version": {
               "type": "integer"
              },
              "resource": {
               "type": "object"
              },
              "accepts": {
               "type": "array",
               "items": {
                "type": "object"
               }
              },
              "extensions": {
               "type": "object"
              }
             },
             "required": [
              "accepts"
             ],
             "description": "in a quote without a key: the x402 requirements of this exact call, payable as they are"
            }
           ]
          },
          "devis": {
           "type": "object",
           "description": "with \"quote\": true: the price of this call — nothing run, nothing charged"
          },
          "quote": {
           "type": "boolean",
           "const": true,
           "description": "set on a quote"
          },
          "tool": {
           "type": "string",
           "description": "on a quote: the tool"
          },
          "priceUsd": {
           "type": "number",
           "description": "on a quote: the price (the maximum for a real-cost tool)"
          },
          "howToPay": {
           "type": "string",
           "description": "on a quote: how to pay for this tool, with or without a key"
          }
         },
         "required": [
          "ok",
          "outil"
         ]
        },
        "example": {
         "ok": true,
         "outil": "swoge_economy",
         "resultat": {
          "economy": {
           "ok": true,
           "frais": true,
           "lu": 1790455966725,
           "jeton": "0x8a166Fb41Cd659a0a43396272FF73973Ce29F817",
           "chaine": 4663,
           "adresseBrulage": "0x000000000000000000000000000000000000dEaD",
           "coffreAdresse": "0x5593c8141303D14999Df7aa03dd3d3a6d4335fAb",
           "offre": 1000000000,
           "brule": 13389118.44,
           "brulePct": 1.34,
           "coffre": 15155373.09,
           "coffrePct": 1.52,
           "stakingAprPct": 100,
           "stakingPlafond": 200000000
          },
          "swogePriceUsd": 0.00002493,
          "source": "on-chain reads (chain 4663) and DexScreener"
         },
         "texte": "{\"economy\":{\"ok\":true,\"frais\":true,\"lu\":1790455966725,\"jeton\":\"0x8a166Fb41Cd659a0a43396272FF73973Ce29F817\",\"chaine\":4663,\"adresseBrulage\":\"0x0000000000000000000",
         "x402": {
          "transaction": "0x8c1f3e2d4b5a69788796a5b4c3d2e1f00f1e2d3c4b5a69788796a5b4c3d2e1f0",
          "network": "eip155:8453",
          "amount": "20000",
          "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"
         }
        }
       }
      }
     },
     "400": {
      "description": "Invalid arguments — nothing is charged"
     },
     "401": {
      "description": "An API key was sent but is unknown or revoked"
     },
     "402": {
      "description": "Payment Required — without a key, the x402 v2 challenge for this exact request (also base64 in the PAYMENT-REQUIRED header); with an API key, the balance or the daily cap is too low",
      "headers": {
       "PAYMENT-REQUIRED": {
        "description": "base64 JSON of the x402 v2 PaymentRequired object",
        "schema": {
         "type": "string"
        }
       }
      },
      "content": {
       "application/json": {
        "schema": {
         "anyOf": [
          {
           "$ref": "#/components/schemas/PaymentRequired"
          },
          {
           "$ref": "#/components/schemas/KeyRefusal"
          }
         ]
        },
        "example": {
         "ok": false,
         "x402Version": 2,
         "error": "PAYMENT-SIGNATURE header is required",
         "resource": {
          "url": "https://web-production-220a3.up.railway.app/agentic/call/swoge_economy",
          "description": "SwogeAgentic tool swoge_economy. Price: $0.02 in USDC on Base, or $0.02 in USDG or $SWOGE on Robinhood Chain (tool price + settlement cost, minimum $0.02).",
          "mimeType": "application/json"
         },
         "accepts": [
          {
           "scheme": "exact",
           "network": "eip155:8453",
           "amount": "20000",
           "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
           "payTo": "0xE81C67c086c83997b41673e1e41e481c14D756F6",
           "maxTimeoutSeconds": 120,
           "extra": {
            "name": "USD Coin",
            "version": "2"
           }
          },
          {
           "scheme": "exact",
           "network": "eip155:4663",
           "amount": "20000",
           "asset": "0x5fc5360D0400a0Fd4f2af552ADD042D716F1d168",
           "payTo": "0xE81C67c086c83997b41673e1e41e481c14D756F6",
           "maxTimeoutSeconds": 120,
           "extra": {
            "assetTransferMethod": "eip3009",
            "name": "Global Dollar",
            "version": "1"
           }
          },
          {
           "scheme": "exact",
           "network": "eip155:4663",
           "amount": "5494945327039461517415",
           "asset": "0x8a166Fb41Cd659a0a43396272FF73973Ce29F817",
           "payTo": "0xE81C67c086c83997b41673e1e41e481c14D756F6",
           "maxTimeoutSeconds": 120,
           "extra": {
            "assetTransferMethod": "permit2",
            "name": "Swole Doge",
            "version": "1"
           }
          }
         ],
         "extensions": {
          "eip2612GasSponsoring": {
           "info": {
            "description": "The server accepts an EIP-2612 permit to the canonical Permit2 contract (value = the exact payment amount) and pays the gas.",
            "version": "1"
           }
          }
         }
        }
       }
      }
     },
     "429": {
      "description": "Too many calls (60 per minute per key) or too many free quotes"
     },
     "502": {
      "description": "The tool or its provider failed — nothing is charged"
     },
     "503": {
      "description": "Unavailable right now (price or provider) — nothing is charged"
     }
    },
    "security": [
     {
      "cleApi": []
     },
     {}
    ],
    "x-payment-info": {
     "protocols": [
      {
       "x402": {}
      }
     ],
     "price": {
      "mode": "fixed",
      "currency": "USD",
      "amount": "0.020000"
     }
    }
   }
  },
  "/agentic/call/new_launches": {
   "post": {
    "operationId": "new_launches",
    "summary": "Use this when you want the newest tokens on Robinhood Chain, minutes after their pool opens, with what an autonomous trading colony decided about each",
    "description": "Use this when you want the newest tokens on Robinhood Chain, minutes after their pool opens, with what an autonomous trading colony decided about each. Returns up to 30 fresh tokens (age, pool size, market cap, 5-minute move, score, and why the SWOGE AI colony did or did not buy it) and the older tokens it keeps watching with its verdict on each. Its contract checks use GoPlus data: Powered by Go+ Security (https://gopluslabs.io). Live reads, never advice. With an API key: $0.005 per call, billed in $SWOGE at the live price. Without a key (x402): $0.006 now in USDC on Base, $0.02 on Robinhood Chain, in USDC on Base or USDG or $SWOGE on Robinhood Chain (tool price + settlement cost, minimum $0.02; the payer pays no gas on either network); the 402 quotes the exact amount for your arguments.",
    "tags": [
     "robinhood-chain",
     "crypto",
     "token-security"
    ],
    "requestBody": {
     "required": true,
     "content": {
      "application/json": {
       "schema": {
        "type": "object",
        "properties": {
         "arguments": {
          "type": "object",
          "properties": {
           "limit": {
            "type": "integer",
            "minimum": 1,
            "maximum": 30,
            "description": "how many fresh tokens (default 15)"
           }
          }
         },
         "quote": {
          "type": "boolean",
          "description": "true: return the price of this call without running or charging it"
         }
        },
        "required": [
         "arguments"
        ]
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "The tool result: `resultat` (data), `texte` (the same, as text for a model) and the receipt — `facture`, `solde`, `recu` with an API key, `x402` without one",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "ok": {
           "type": "boolean",
           "const": true
          },
          "outil": {
           "type": "string",
           "const": "new_launches"
          },
          "resultat": {
           "type": "object",
           "properties": {
            "note": {
             "type": "string",
             "description": "what these are, with the GoPlus attribution"
            },
            "fresh": {
             "type": "array",
             "items": {
              "type": "object",
              "properties": {
               "sym": {
                "type": "string"
               },
               "address": {
                "type": "string"
               },
               "ageMinutes": {
                "type": [
                 "number",
                 "null"
                ],
                "description": "minutes since the pool opened"
               },
               "poolUsd": {
                "type": [
                 "number",
                 "null"
                ],
                "description": "pool size, USD"
               },
               "capUsd": {
                "type": [
                 "number",
                 "null"
                ],
                "description": "market cap, USD"
               },
               "change5mPct": {
                "type": [
                 "number",
                 "null"
                ],
                "description": "5-minute move, %"
               },
               "score": {
                "type": [
                 "number",
                 "null"
                ],
                "description": "colony score"
               },
               "decision": {
                "type": "string",
                "description": "\"passed the colony's gates\" or \"not bought: <reason>\""
               },
               "origin": {
                "type": [
                 "string",
                 "null"
                ],
                "description": "how the colony found it"
               }
              },
              "required": []
             },
             "description": "newest first, at most 30"
            },
            "watched": {
             "type": "array",
             "items": {
              "type": "object",
              "properties": {
               "sym": {
                "type": "string"
               },
               "address": {
                "type": "string"
               },
               "timesSeen": {
                "type": "number"
               },
               "poolUsd": {
                "type": [
                 "number",
                 "null"
                ],
                "description": "pool size, USD"
               },
               "verdict": {
                "type": "string",
                "description": "what the colony decided"
               }
              },
              "required": []
             },
             "description": "older tokens it keeps watching (15 at most)"
            },
            "attribution": {
             "type": "object",
             "properties": {
              "security": {
               "type": "string",
               "description": "always \"Powered by Go+ Security\""
              },
              "url": {
               "type": "string",
               "description": "https://gopluslabs.io"
              }
             },
             "required": [
              "security",
              "url"
             ],
             "description": "GoPlus attribution: quote the security data with it"
            }
           },
           "required": [
            "note",
            "fresh",
            "watched",
            "attribution"
           ]
          },
          "texte": {
           "type": "string",
           "description": "the same result as plain text, written for a language model"
          },
          "facture": {
           "type": "object",
           "properties": {
            "swoge": {
             "type": "string",
             "description": "$SWOGE billed, exact decimal string"
            },
            "usd": {
             "type": "number",
             "description": "USD billed"
            },
            "maxSwoge": {
             "type": "string",
             "description": "video: most it can bill"
            },
            "maxUsd": {
             "type": "number"
            },
            "aLArrivee": {
             "type": "boolean",
             "description": "video: billed when it arrives"
            }
           },
           "required": [
            "swoge",
            "usd"
           ],
           "description": "with an API key: what was billed"
          },
          "solde": {
           "type": "string",
           "description": "with an API key: the $SWOGE balance left"
          },
          "recu": {
           "type": "string",
           "description": "with an API key: the receipt id"
          },
          "x402": {
           "anyOf": [
            {
             "type": "object",
             "properties": {
              "transaction": {
               "type": "string",
               "description": "settlement transaction hash"
              },
              "network": {
               "type": "string",
               "description": "eip155:4663"
              },
              "amount": {
               "type": "string",
               "description": "atomic units paid"
              },
              "asset": {
               "type": "string",
               "description": "token paid (USDG or $SWOGE)"
              }
             },
             "required": [
              "transaction",
              "network",
              "amount",
              "asset"
             ],
             "description": "paid without a key: the x402 settlement (also in the PAYMENT-RESPONSE header)"
            },
            {
             "type": "object",
             "properties": {
              "x402Version": {
               "type": "integer"
              },
              "resource": {
               "type": "object"
              },
              "accepts": {
               "type": "array",
               "items": {
                "type": "object"
               }
              },
              "extensions": {
               "type": "object"
              }
             },
             "required": [
              "accepts"
             ],
             "description": "in a quote without a key: the x402 requirements of this exact call, payable as they are"
            }
           ]
          },
          "devis": {
           "type": "object",
           "description": "with \"quote\": true: the price of this call — nothing run, nothing charged"
          },
          "quote": {
           "type": "boolean",
           "const": true,
           "description": "set on a quote"
          },
          "tool": {
           "type": "string",
           "description": "on a quote: the tool"
          },
          "priceUsd": {
           "type": "number",
           "description": "on a quote: the price (the maximum for a real-cost tool)"
          },
          "howToPay": {
           "type": "string",
           "description": "on a quote: how to pay for this tool, with or without a key"
          }
         },
         "required": [
          "ok",
          "outil"
         ]
        },
        "example": {
         "ok": true,
         "outil": "new_launches",
         "resultat": {
          "note": "Live reads of the SWOGE AI colony on Robinhood Chain: measurements and decisions, never advice. Contract safety verdicts: Powered by Go+ Security (https://gopluslabs.io).",
          "fresh": [
           {
            "sym": "NEW",
            "address": "0x9f2e7d6c5b4a39281706f5e4d3c2b1a098f7e6d5",
            "ageMinutes": 1,
            "poolUsd": 8000,
            "capUsd": 9000,
            "change5mPct": 65,
            "score": 48,
            "decision": "not bought: $8000 pool: below the buy floor ($13000)",
            "origin": "pools"
           }
          ],
          "watched": [
           {
            "sym": "TALIS",
            "address": "0x3c4d5e6f708192a3b4c5d6e7f8091a2b3c4d5e6f",
            "timesSeen": 29,
            "poolUsd": 53366,
            "verdict": "too old (819 min): watched only, never bought"
           }
          ],
          "attribution": {
           "security": "Powered by Go+ Security",
           "url": "https://gopluslabs.io"
          }
         },
         "texte": "{\"note\":\"Live reads of the SWOGE AI colony on Robinhood Chain: measurements and decisions, never advice. Contract safety verdicts: Powered by Go+ Security (http",
         "x402": {
          "transaction": "0x8c1f3e2d4b5a69788796a5b4c3d2e1f00f1e2d3c4b5a69788796a5b4c3d2e1f0",
          "network": "eip155:8453",
          "amount": "6000",
          "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"
         }
        }
       }
      }
     },
     "400": {
      "description": "Invalid arguments — nothing is charged"
     },
     "401": {
      "description": "An API key was sent but is unknown or revoked"
     },
     "402": {
      "description": "Payment Required — without a key, the x402 v2 challenge for this exact request (also base64 in the PAYMENT-REQUIRED header); with an API key, the balance or the daily cap is too low",
      "headers": {
       "PAYMENT-REQUIRED": {
        "description": "base64 JSON of the x402 v2 PaymentRequired object",
        "schema": {
         "type": "string"
        }
       }
      },
      "content": {
       "application/json": {
        "schema": {
         "anyOf": [
          {
           "$ref": "#/components/schemas/PaymentRequired"
          },
          {
           "$ref": "#/components/schemas/KeyRefusal"
          }
         ]
        },
        "example": {
         "ok": false,
         "x402Version": 2,
         "error": "PAYMENT-SIGNATURE header is required",
         "resource": {
          "url": "https://web-production-220a3.up.railway.app/agentic/call/new_launches",
          "description": "SwogeAgentic tool new_launches. Price: $0.006 in USDC on Base, or $0.02 in USDG or $SWOGE on Robinhood Chain (tool price + settlement cost, minimum $0.02).",
          "mimeType": "application/json"
         },
         "accepts": [
          {
           "scheme": "exact",
           "network": "eip155:8453",
           "amount": "6000",
           "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
           "payTo": "0xE81C67c086c83997b41673e1e41e481c14D756F6",
           "maxTimeoutSeconds": 120,
           "extra": {
            "name": "USD Coin",
            "version": "2"
           }
          },
          {
           "scheme": "exact",
           "network": "eip155:4663",
           "amount": "20000",
           "asset": "0x5fc5360D0400a0Fd4f2af552ADD042D716F1d168",
           "payTo": "0xE81C67c086c83997b41673e1e41e481c14D756F6",
           "maxTimeoutSeconds": 120,
           "extra": {
            "assetTransferMethod": "eip3009",
            "name": "Global Dollar",
            "version": "1"
           }
          },
          {
           "scheme": "exact",
           "network": "eip155:4663",
           "amount": "5494945327039461517415",
           "asset": "0x8a166Fb41Cd659a0a43396272FF73973Ce29F817",
           "payTo": "0xE81C67c086c83997b41673e1e41e481c14D756F6",
           "maxTimeoutSeconds": 120,
           "extra": {
            "assetTransferMethod": "permit2",
            "name": "Swole Doge",
            "version": "1"
           }
          }
         ],
         "extensions": {
          "eip2612GasSponsoring": {
           "info": {
            "description": "The server accepts an EIP-2612 permit to the canonical Permit2 contract (value = the exact payment amount) and pays the gas.",
            "version": "1"
           }
          }
         }
        }
       }
      }
     },
     "429": {
      "description": "Too many calls (60 per minute per key) or too many free quotes"
     },
     "502": {
      "description": "The tool or its provider failed — nothing is charged"
     },
     "503": {
      "description": "Unavailable right now (price or provider) — nothing is charged"
     }
    },
    "security": [
     {
      "cleApi": []
     },
     {}
    ],
    "x-payment-info": {
     "protocols": [
      {
       "x402": {}
      }
     ],
     "price": {
      "mode": "dynamic",
      "currency": "USD",
      "min": "0.006000",
      "max": "0.020000"
     }
    }
   }
  },
  "/agentic/call/wallet_intel": {
   "post": {
    "operationId": "wallet_intel",
    "summary": "Use this when you need to know who is behind an EVM address, typically a token deployer, before trusting what it launches",
    "description": "Use this when you need to know who is behind an EVM address, typically a token deployer, before trusting what it launches. Returns findings first (such as repeat launching), then facts: the tokens it deployed on the launchpads the colony indexes and what the SWOGE AI colony measured on launchers like it (with observation counts), each with its source. Passive: the address is never contacted. With an API key: $0.008 per call, billed in $SWOGE at the live price. Without a key (x402): $0.01 now in USDC on Base, $0.02 on Robinhood Chain, in USDC on Base or USDG or $SWOGE on Robinhood Chain (tool price + settlement cost, minimum $0.02; the payer pays no gas on either network); the 402 quotes the exact amount for your arguments.",
    "tags": [
     "osint",
     "crypto",
     "robinhood-chain"
    ],
    "requestBody": {
     "required": true,
     "content": {
      "application/json": {
       "schema": {
        "type": "object",
        "properties": {
         "arguments": {
          "type": "object",
          "properties": {
           "address": {
            "type": "string",
            "description": "EVM address, 0x followed by 40 hex characters"
           }
          },
          "required": [
           "address"
          ]
         },
         "quote": {
          "type": "boolean",
          "description": "true: return the price of this call without running or charging it"
         }
        },
        "required": [
         "arguments"
        ]
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "The tool result: `resultat` (data), `texte` (the same, as text for a model) and the receipt — `facture`, `solde`, `recu` with an API key, `x402` without one",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "ok": {
           "type": "boolean",
           "const": true
          },
          "outil": {
           "type": "string",
           "const": "wallet_intel"
          },
          "resultat": {
           "type": "object",
           "properties": {
            "target": {
             "type": [
              "object",
              "null"
             ],
             "properties": {
              "type": {
               "type": "string",
               "enum": [
                "address",
                "domain",
                "ip",
                "url",
                "asn",
                "cve"
               ]
              },
              "value": {
               "type": "string",
               "description": "the target as read"
              }
             },
             "required": [
              "type",
              "value"
             ]
            },
            "passive": {
             "type": "boolean",
             "description": "always true: the target never sees our requests"
            },
            "findings": {
             "type": "array",
             "items": {
              "type": "object",
              "properties": {
               "severity": {
                "type": "string",
                "enum": [
                 "HIGH",
                 "MEDIUM",
                 "LOW",
                 "NOTE"
                ]
               },
               "text": {
                "type": "string",
                "description": "what the facts together show"
               }
              },
              "required": [
               "severity",
               "text"
              ]
             },
             "description": "findings first, most severe first (at most 10)"
            },
            "facts": {
             "type": "array",
             "items": {
              "type": "object",
              "properties": {
               "predicate": {
                "type": "string",
                "description": "what the fact is about"
               },
               "value": {
                "type": "string",
                "description": "its value (160 characters at most)"
               },
               "sources": {
                "type": "array",
                "items": {
                 "type": "string"
                },
                "description": "where it was read (2 at most)"
               }
              },
              "required": [
               "predicate",
               "value",
               "sources"
              ]
             },
             "description": "at most 30 facts"
            },
            "factCount": {
             "type": "number",
             "description": "facts found in total"
            }
           },
           "required": [
            "target",
            "passive",
            "findings",
            "facts",
            "factCount"
           ]
          },
          "texte": {
           "type": "string",
           "description": "the same result as plain text, written for a language model"
          },
          "facture": {
           "type": "object",
           "properties": {
            "swoge": {
             "type": "string",
             "description": "$SWOGE billed, exact decimal string"
            },
            "usd": {
             "type": "number",
             "description": "USD billed"
            },
            "maxSwoge": {
             "type": "string",
             "description": "video: most it can bill"
            },
            "maxUsd": {
             "type": "number"
            },
            "aLArrivee": {
             "type": "boolean",
             "description": "video: billed when it arrives"
            }
           },
           "required": [
            "swoge",
            "usd"
           ],
           "description": "with an API key: what was billed"
          },
          "solde": {
           "type": "string",
           "description": "with an API key: the $SWOGE balance left"
          },
          "recu": {
           "type": "string",
           "description": "with an API key: the receipt id"
          },
          "x402": {
           "anyOf": [
            {
             "type": "object",
             "properties": {
              "transaction": {
               "type": "string",
               "description": "settlement transaction hash"
              },
              "network": {
               "type": "string",
               "description": "eip155:4663"
              },
              "amount": {
               "type": "string",
               "description": "atomic units paid"
              },
              "asset": {
               "type": "string",
               "description": "token paid (USDG or $SWOGE)"
              }
             },
             "required": [
              "transaction",
              "network",
              "amount",
              "asset"
             ],
             "description": "paid without a key: the x402 settlement (also in the PAYMENT-RESPONSE header)"
            },
            {
             "type": "object",
             "properties": {
              "x402Version": {
               "type": "integer"
              },
              "resource": {
               "type": "object"
              },
              "accepts": {
               "type": "array",
               "items": {
                "type": "object"
               }
              },
              "extensions": {
               "type": "object"
              }
             },
             "required": [
              "accepts"
             ],
             "description": "in a quote without a key: the x402 requirements of this exact call, payable as they are"
            }
           ]
          },
          "devis": {
           "type": "object",
           "description": "with \"quote\": true: the price of this call — nothing run, nothing charged"
          },
          "quote": {
           "type": "boolean",
           "const": true,
           "description": "set on a quote"
          },
          "tool": {
           "type": "string",
           "description": "on a quote: the tool"
          },
          "priceUsd": {
           "type": "number",
           "description": "on a quote: the price (the maximum for a real-cost tool)"
          },
          "howToPay": {
           "type": "string",
           "description": "on a quote: how to pay for this tool, with or without a key"
          }
         },
         "required": [
          "ok",
          "outil"
         ]
        },
        "example": {
         "ok": true,
         "outil": "wallet_intel",
         "resultat": {
          "target": {
           "type": "address",
           "value": "0x4b1c9e7d2a3f5e6d7c8b9a0f1e2d3c4b5a6f7e8d"
          },
          "passive": true,
          "findings": [
           {
            "severity": "HIGH",
            "text": "This address is a repeat launcher, and repeat launchers measure worse."
           }
          ],
          "facts": [
           {
            "predicate": "LAUNCHED TOKENS ON",
            "value": "pons × 4",
            "sources": [
             "pons registry"
            ]
           }
          ],
          "factCount": 1
         },
         "texte": "{\"target\":{\"type\":\"address\",\"value\":\"0x4b1c9e7d2a3f5e6d7c8b9a0f1e2d3c4b5a6f7e8d\"},\"passive\":true,\"findings\":[{\"severity\":\"HIGH\",\"text\":\"This address is a repeat",
         "x402": {
          "transaction": "0x8c1f3e2d4b5a69788796a5b4c3d2e1f00f1e2d3c4b5a69788796a5b4c3d2e1f0",
          "network": "eip155:8453",
          "amount": "10000",
          "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"
         }
        }
       }
      }
     },
     "400": {
      "description": "Invalid arguments — nothing is charged"
     },
     "401": {
      "description": "An API key was sent but is unknown or revoked"
     },
     "402": {
      "description": "Payment Required — without a key, the x402 v2 challenge for this exact request (also base64 in the PAYMENT-REQUIRED header); with an API key, the balance or the daily cap is too low",
      "headers": {
       "PAYMENT-REQUIRED": {
        "description": "base64 JSON of the x402 v2 PaymentRequired object",
        "schema": {
         "type": "string"
        }
       }
      },
      "content": {
       "application/json": {
        "schema": {
         "anyOf": [
          {
           "$ref": "#/components/schemas/PaymentRequired"
          },
          {
           "$ref": "#/components/schemas/KeyRefusal"
          }
         ]
        },
        "example": {
         "ok": false,
         "x402Version": 2,
         "error": "PAYMENT-SIGNATURE header is required",
         "resource": {
          "url": "https://web-production-220a3.up.railway.app/agentic/call/wallet_intel",
          "description": "SwogeAgentic tool wallet_intel. Price: $0.01 in USDC on Base, or $0.02 in USDG or $SWOGE on Robinhood Chain (tool price + settlement cost, minimum $0.02).",
          "mimeType": "application/json"
         },
         "accepts": [
          {
           "scheme": "exact",
           "network": "eip155:8453",
           "amount": "10000",
           "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
           "payTo": "0xE81C67c086c83997b41673e1e41e481c14D756F6",
           "maxTimeoutSeconds": 120,
           "extra": {
            "name": "USD Coin",
            "version": "2"
           }
          },
          {
           "scheme": "exact",
           "network": "eip155:4663",
           "amount": "20000",
           "asset": "0x5fc5360D0400a0Fd4f2af552ADD042D716F1d168",
           "payTo": "0xE81C67c086c83997b41673e1e41e481c14D756F6",
           "maxTimeoutSeconds": 120,
           "extra": {
            "assetTransferMethod": "eip3009",
            "name": "Global Dollar",
            "version": "1"
           }
          },
          {
           "scheme": "exact",
           "network": "eip155:4663",
           "amount": "5494945327039461517415",
           "asset": "0x8a166Fb41Cd659a0a43396272FF73973Ce29F817",
           "payTo": "0xE81C67c086c83997b41673e1e41e481c14D756F6",
           "maxTimeoutSeconds": 120,
           "extra": {
            "assetTransferMethod": "permit2",
            "name": "Swole Doge",
            "version": "1"
           }
          }
         ],
         "extensions": {
          "eip2612GasSponsoring": {
           "info": {
            "description": "The server accepts an EIP-2612 permit to the canonical Permit2 contract (value = the exact payment amount) and pays the gas.",
            "version": "1"
           }
          }
         }
        }
       }
      }
     },
     "429": {
      "description": "Too many calls (60 per minute per key) or too many free quotes"
     },
     "502": {
      "description": "The tool or its provider failed — nothing is charged"
     },
     "503": {
      "description": "Unavailable right now (price or provider) — nothing is charged"
     }
    },
    "security": [
     {
      "cleApi": []
     },
     {}
    ],
    "x-payment-info": {
     "protocols": [
      {
       "x402": {}
      }
     ],
     "price": {
      "mode": "dynamic",
      "currency": "USD",
      "min": "0.010000",
      "max": "0.020000"
     }
    }
   }
  },
  "/agentic/call/osint_lookup": {
   "post": {
    "operationId": "osint_lookup",
    "summary": "Use this when you need passive reconnaissance on internet infrastructure: a domain, an IP address, a website URL, an autonomous system (AS15169) or a CVE id",
    "description": "Use this when you need passive reconnaissance on internet infrastructure: a domain, an IP address, a website URL, an autonomous system (AS15169) or a CVE id. Returns findings first, then DNS, certificate, registration, hosting and exposure facts, each with its source. Passive only; people (e-mails, usernames, phone numbers, names) are refused. With an API key: $0.008 per call, billed in $SWOGE at the live price. Without a key (x402): $0.01 now in USDC on Base, $0.02 on Robinhood Chain, in USDC on Base or USDG or $SWOGE on Robinhood Chain (tool price + settlement cost, minimum $0.02; the payer pays no gas on either network); the 402 quotes the exact amount for your arguments.",
    "tags": [
     "osint",
     "research"
    ],
    "requestBody": {
     "required": true,
     "content": {
      "application/json": {
       "schema": {
        "type": "object",
        "properties": {
         "arguments": {
          "type": "object",
          "properties": {
           "target": {
            "type": "string",
            "description": "a domain, IP, URL, AS number or CVE id"
           }
          },
          "required": [
           "target"
          ]
         },
         "quote": {
          "type": "boolean",
          "description": "true: return the price of this call without running or charging it"
         }
        },
        "required": [
         "arguments"
        ]
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "The tool result: `resultat` (data), `texte` (the same, as text for a model) and the receipt — `facture`, `solde`, `recu` with an API key, `x402` without one",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "ok": {
           "type": "boolean",
           "const": true
          },
          "outil": {
           "type": "string",
           "const": "osint_lookup"
          },
          "resultat": {
           "type": "object",
           "properties": {
            "target": {
             "type": [
              "object",
              "null"
             ],
             "properties": {
              "type": {
               "type": "string",
               "enum": [
                "address",
                "domain",
                "ip",
                "url",
                "asn",
                "cve"
               ]
              },
              "value": {
               "type": "string",
               "description": "the target as read"
              }
             },
             "required": [
              "type",
              "value"
             ]
            },
            "passive": {
             "type": "boolean",
             "description": "always true: the target never sees our requests"
            },
            "findings": {
             "type": "array",
             "items": {
              "type": "object",
              "properties": {
               "severity": {
                "type": "string",
                "enum": [
                 "HIGH",
                 "MEDIUM",
                 "LOW",
                 "NOTE"
                ]
               },
               "text": {
                "type": "string",
                "description": "what the facts together show"
               }
              },
              "required": [
               "severity",
               "text"
              ]
             },
             "description": "findings first, most severe first (at most 10)"
            },
            "facts": {
             "type": "array",
             "items": {
              "type": "object",
              "properties": {
               "predicate": {
                "type": "string",
                "description": "what the fact is about"
               },
               "value": {
                "type": "string",
                "description": "its value (160 characters at most)"
               },
               "sources": {
                "type": "array",
                "items": {
                 "type": "string"
                },
                "description": "where it was read (2 at most)"
               }
              },
              "required": [
               "predicate",
               "value",
               "sources"
              ]
             },
             "description": "at most 30 facts"
            },
            "factCount": {
             "type": "number",
             "description": "facts found in total"
            }
           },
           "required": [
            "target",
            "passive",
            "findings",
            "facts",
            "factCount"
           ]
          },
          "texte": {
           "type": "string",
           "description": "the same result as plain text, written for a language model"
          },
          "facture": {
           "type": "object",
           "properties": {
            "swoge": {
             "type": "string",
             "description": "$SWOGE billed, exact decimal string"
            },
            "usd": {
             "type": "number",
             "description": "USD billed"
            },
            "maxSwoge": {
             "type": "string",
             "description": "video: most it can bill"
            },
            "maxUsd": {
             "type": "number"
            },
            "aLArrivee": {
             "type": "boolean",
             "description": "video: billed when it arrives"
            }
           },
           "required": [
            "swoge",
            "usd"
           ],
           "description": "with an API key: what was billed"
          },
          "solde": {
           "type": "string",
           "description": "with an API key: the $SWOGE balance left"
          },
          "recu": {
           "type": "string",
           "description": "with an API key: the receipt id"
          },
          "x402": {
           "anyOf": [
            {
             "type": "object",
             "properties": {
              "transaction": {
               "type": "string",
               "description": "settlement transaction hash"
              },
              "network": {
               "type": "string",
               "description": "eip155:4663"
              },
              "amount": {
               "type": "string",
               "description": "atomic units paid"
              },
              "asset": {
               "type": "string",
               "description": "token paid (USDG or $SWOGE)"
              }
             },
             "required": [
              "transaction",
              "network",
              "amount",
              "asset"
             ],
             "description": "paid without a key: the x402 settlement (also in the PAYMENT-RESPONSE header)"
            },
            {
             "type": "object",
             "properties": {
              "x402Version": {
               "type": "integer"
              },
              "resource": {
               "type": "object"
              },
              "accepts": {
               "type": "array",
               "items": {
                "type": "object"
               }
              },
              "extensions": {
               "type": "object"
              }
             },
             "required": [
              "accepts"
             ],
             "description": "in a quote without a key: the x402 requirements of this exact call, payable as they are"
            }
           ]
          },
          "devis": {
           "type": "object",
           "description": "with \"quote\": true: the price of this call — nothing run, nothing charged"
          },
          "quote": {
           "type": "boolean",
           "const": true,
           "description": "set on a quote"
          },
          "tool": {
           "type": "string",
           "description": "on a quote: the tool"
          },
          "priceUsd": {
           "type": "number",
           "description": "on a quote: the price (the maximum for a real-cost tool)"
          },
          "howToPay": {
           "type": "string",
           "description": "on a quote: how to pay for this tool, with or without a key"
          }
         },
         "required": [
          "ok",
          "outil"
         ]
        },
        "example": {
         "ok": true,
         "outil": "osint_lookup",
         "resultat": {
          "target": {
           "type": "domain",
           "value": "example.com"
          },
          "passive": true,
          "findings": [],
          "facts": [
           {
            "predicate": "A",
            "value": "93.184.215.14",
            "sources": [
             "dns.google"
            ]
           },
           {
            "predicate": "CERTIFICATE ISSUER",
            "value": "DigiCert Global G3 TLS ECC SHA384 2020 CA1",
            "sources": [
             "crt.sh"
            ]
           }
          ],
          "factCount": 2
         },
         "texte": "{\"target\":{\"type\":\"domain\",\"value\":\"example.com\"},\"passive\":true,\"findings\":[],\"facts\":[{\"predicate\":\"A\",\"value\":\"93.184.215.14\",\"sources\":[\"dns.google\"]},{\"pre",
         "x402": {
          "transaction": "0x8c1f3e2d4b5a69788796a5b4c3d2e1f00f1e2d3c4b5a69788796a5b4c3d2e1f0",
          "network": "eip155:8453",
          "amount": "10000",
          "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"
         }
        }
       }
      }
     },
     "400": {
      "description": "Invalid arguments — nothing is charged"
     },
     "401": {
      "description": "An API key was sent but is unknown or revoked"
     },
     "402": {
      "description": "Payment Required — without a key, the x402 v2 challenge for this exact request (also base64 in the PAYMENT-REQUIRED header); with an API key, the balance or the daily cap is too low",
      "headers": {
       "PAYMENT-REQUIRED": {
        "description": "base64 JSON of the x402 v2 PaymentRequired object",
        "schema": {
         "type": "string"
        }
       }
      },
      "content": {
       "application/json": {
        "schema": {
         "anyOf": [
          {
           "$ref": "#/components/schemas/PaymentRequired"
          },
          {
           "$ref": "#/components/schemas/KeyRefusal"
          }
         ]
        },
        "example": {
         "ok": false,
         "x402Version": 2,
         "error": "PAYMENT-SIGNATURE header is required",
         "resource": {
          "url": "https://web-production-220a3.up.railway.app/agentic/call/osint_lookup",
          "description": "SwogeAgentic tool osint_lookup. Price: $0.01 in USDC on Base, or $0.02 in USDG or $SWOGE on Robinhood Chain (tool price + settlement cost, minimum $0.02).",
          "mimeType": "application/json"
         },
         "accepts": [
          {
           "scheme": "exact",
           "network": "eip155:8453",
           "amount": "10000",
           "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
           "payTo": "0xE81C67c086c83997b41673e1e41e481c14D756F6",
           "maxTimeoutSeconds": 120,
           "extra": {
            "name": "USD Coin",
            "version": "2"
           }
          },
          {
           "scheme": "exact",
           "network": "eip155:4663",
           "amount": "20000",
           "asset": "0x5fc5360D0400a0Fd4f2af552ADD042D716F1d168",
           "payTo": "0xE81C67c086c83997b41673e1e41e481c14D756F6",
           "maxTimeoutSeconds": 120,
           "extra": {
            "assetTransferMethod": "eip3009",
            "name": "Global Dollar",
            "version": "1"
           }
          },
          {
           "scheme": "exact",
           "network": "eip155:4663",
           "amount": "5494945327039461517415",
           "asset": "0x8a166Fb41Cd659a0a43396272FF73973Ce29F817",
           "payTo": "0xE81C67c086c83997b41673e1e41e481c14D756F6",
           "maxTimeoutSeconds": 120,
           "extra": {
            "assetTransferMethod": "permit2",
            "name": "Swole Doge",
            "version": "1"
           }
          }
         ],
         "extensions": {
          "eip2612GasSponsoring": {
           "info": {
            "description": "The server accepts an EIP-2612 permit to the canonical Permit2 contract (value = the exact payment amount) and pays the gas.",
            "version": "1"
           }
          }
         }
        }
       }
      }
     },
     "429": {
      "description": "Too many calls (60 per minute per key) or too many free quotes"
     },
     "502": {
      "description": "The tool or its provider failed — nothing is charged"
     },
     "503": {
      "description": "Unavailable right now (price or provider) — nothing is charged"
     }
    },
    "security": [
     {
      "cleApi": []
     },
     {}
    ],
    "x-payment-info": {
     "protocols": [
      {
       "x402": {}
      }
     ],
     "price": {
      "mode": "dynamic",
      "currency": "USD",
      "min": "0.010000",
      "max": "0.020000"
     }
    }
   }
  },
  "/agentic/call/web_search": {
   "post": {
    "operationId": "web_search",
    "summary": "Use this when the answer is outside SWOGE data: news, projects, teams, people, anything on the open web",
    "description": "Use this when the answer is outside SWOGE data: news, projects, teams, people, anything on the open web. Returns ranked results with title, URL, date and an extract (Perplexity Search). With an API key: $0.0075 per call, billed in $SWOGE at the live price. Without a key (x402): $0.01 now in USDC on Base, $0.02 on Robinhood Chain, in USDC on Base or USDG or $SWOGE on Robinhood Chain (tool price + settlement cost, minimum $0.02; the payer pays no gas on either network); the 402 quotes the exact amount for your arguments.",
    "tags": [
     "research"
    ],
    "requestBody": {
     "required": true,
     "content": {
      "application/json": {
       "schema": {
        "type": "object",
        "properties": {
         "arguments": {
          "type": "object",
          "properties": {
           "query": {
            "type": "string",
            "description": "the search query, as you would type it"
           }
          },
          "required": [
           "query"
          ]
         },
         "quote": {
          "type": "boolean",
          "description": "true: return the price of this call without running or charging it"
         }
        },
        "required": [
         "arguments"
        ]
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "The tool result: `resultat` (data), `texte` (the same, as text for a model) and the receipt — `facture`, `solde`, `recu` with an API key, `x402` without one",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "ok": {
           "type": "boolean",
           "const": true
          },
          "outil": {
           "type": "string",
           "const": "web_search"
          },
          "resultat": {
           "type": "object",
           "properties": {
            "results": {
             "type": "array",
             "items": {
              "type": "object",
              "properties": {
               "url": {
                "type": "string",
                "description": "source URL"
               },
               "titre": {
                "type": "string",
                "description": "source title"
               }
              },
              "required": [
               "url"
              ]
             },
             "description": "ranked results (the text answer carries dates and extracts)"
            }
           },
           "required": [
            "results"
           ]
          },
          "texte": {
           "type": "string",
           "description": "the same result as plain text, written for a language model"
          },
          "facture": {
           "type": "object",
           "properties": {
            "swoge": {
             "type": "string",
             "description": "$SWOGE billed, exact decimal string"
            },
            "usd": {
             "type": "number",
             "description": "USD billed"
            },
            "maxSwoge": {
             "type": "string",
             "description": "video: most it can bill"
            },
            "maxUsd": {
             "type": "number"
            },
            "aLArrivee": {
             "type": "boolean",
             "description": "video: billed when it arrives"
            }
           },
           "required": [
            "swoge",
            "usd"
           ],
           "description": "with an API key: what was billed"
          },
          "solde": {
           "type": "string",
           "description": "with an API key: the $SWOGE balance left"
          },
          "recu": {
           "type": "string",
           "description": "with an API key: the receipt id"
          },
          "x402": {
           "anyOf": [
            {
             "type": "object",
             "properties": {
              "transaction": {
               "type": "string",
               "description": "settlement transaction hash"
              },
              "network": {
               "type": "string",
               "description": "eip155:4663"
              },
              "amount": {
               "type": "string",
               "description": "atomic units paid"
              },
              "asset": {
               "type": "string",
               "description": "token paid (USDG or $SWOGE)"
              }
             },
             "required": [
              "transaction",
              "network",
              "amount",
              "asset"
             ],
             "description": "paid without a key: the x402 settlement (also in the PAYMENT-RESPONSE header)"
            },
            {
             "type": "object",
             "properties": {
              "x402Version": {
               "type": "integer"
              },
              "resource": {
               "type": "object"
              },
              "accepts": {
               "type": "array",
               "items": {
                "type": "object"
               }
              },
              "extensions": {
               "type": "object"
              }
             },
             "required": [
              "accepts"
             ],
             "description": "in a quote without a key: the x402 requirements of this exact call, payable as they are"
            }
           ]
          },
          "devis": {
           "type": "object",
           "description": "with \"quote\": true: the price of this call — nothing run, nothing charged"
          },
          "quote": {
           "type": "boolean",
           "const": true,
           "description": "set on a quote"
          },
          "tool": {
           "type": "string",
           "description": "on a quote: the tool"
          },
          "priceUsd": {
           "type": "number",
           "description": "on a quote: the price (the maximum for a real-cost tool)"
          },
          "howToPay": {
           "type": "string",
           "description": "on a quote: how to pay for this tool, with or without a key"
          }
         },
         "required": [
          "ok",
          "outil"
         ]
        },
        "example": {
         "ok": true,
         "outil": "web_search",
         "resultat": {
          "results": [
           {
            "url": "https://robinhood.com/us/en/newsroom/robinhood-chain/",
            "titre": "Robinhood Chain"
           }
          ]
         },
         "texte": "{\"results\":[{\"url\":\"https://robinhood.com/us/en/newsroom/robinhood-chain/\",\"titre\":\"Robinhood Chain\"}]}",
         "x402": {
          "transaction": "0x8c1f3e2d4b5a69788796a5b4c3d2e1f00f1e2d3c4b5a69788796a5b4c3d2e1f0",
          "network": "eip155:8453",
          "amount": "10000",
          "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"
         }
        }
       }
      }
     },
     "400": {
      "description": "Invalid arguments — nothing is charged"
     },
     "401": {
      "description": "An API key was sent but is unknown or revoked"
     },
     "402": {
      "description": "Payment Required — without a key, the x402 v2 challenge for this exact request (also base64 in the PAYMENT-REQUIRED header); with an API key, the balance or the daily cap is too low",
      "headers": {
       "PAYMENT-REQUIRED": {
        "description": "base64 JSON of the x402 v2 PaymentRequired object",
        "schema": {
         "type": "string"
        }
       }
      },
      "content": {
       "application/json": {
        "schema": {
         "anyOf": [
          {
           "$ref": "#/components/schemas/PaymentRequired"
          },
          {
           "$ref": "#/components/schemas/KeyRefusal"
          }
         ]
        },
        "example": {
         "ok": false,
         "x402Version": 2,
         "error": "PAYMENT-SIGNATURE header is required",
         "resource": {
          "url": "https://web-production-220a3.up.railway.app/agentic/call/web_search",
          "description": "SwogeAgentic tool web_search. Price: $0.01 in USDC on Base, or $0.02 in USDG or $SWOGE on Robinhood Chain (tool price + settlement cost, minimum $0.02).",
          "mimeType": "application/json"
         },
         "accepts": [
          {
           "scheme": "exact",
           "network": "eip155:8453",
           "amount": "10000",
           "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
           "payTo": "0xE81C67c086c83997b41673e1e41e481c14D756F6",
           "maxTimeoutSeconds": 120,
           "extra": {
            "name": "USD Coin",
            "version": "2"
           }
          },
          {
           "scheme": "exact",
           "network": "eip155:4663",
           "amount": "20000",
           "asset": "0x5fc5360D0400a0Fd4f2af552ADD042D716F1d168",
           "payTo": "0xE81C67c086c83997b41673e1e41e481c14D756F6",
           "maxTimeoutSeconds": 120,
           "extra": {
            "assetTransferMethod": "eip3009",
            "name": "Global Dollar",
            "version": "1"
           }
          },
          {
           "scheme": "exact",
           "network": "eip155:4663",
           "amount": "5494945327039461517415",
           "asset": "0x8a166Fb41Cd659a0a43396272FF73973Ce29F817",
           "payTo": "0xE81C67c086c83997b41673e1e41e481c14D756F6",
           "maxTimeoutSeconds": 120,
           "extra": {
            "assetTransferMethod": "permit2",
            "name": "Swole Doge",
            "version": "1"
           }
          }
         ],
         "extensions": {
          "eip2612GasSponsoring": {
           "info": {
            "description": "The server accepts an EIP-2612 permit to the canonical Permit2 contract (value = the exact payment amount) and pays the gas.",
            "version": "1"
           }
          }
         }
        }
       }
      }
     },
     "429": {
      "description": "Too many calls (60 per minute per key) or too many free quotes"
     },
     "502": {
      "description": "The tool or its provider failed — nothing is charged"
     },
     "503": {
      "description": "Unavailable right now (price or provider) — nothing is charged"
     }
    },
    "security": [
     {
      "cleApi": []
     },
     {}
    ],
    "x-payment-info": {
     "protocols": [
      {
       "x402": {}
      }
     ],
     "price": {
      "mode": "dynamic",
      "currency": "USD",
      "min": "0.010000",
      "max": "0.020000"
     }
    }
   }
  },
  "/agentic/call/chat_completion": {
   "post": {
    "operationId": "chat_completion",
    "summary": "Use this when you need an answer from a frontier AI model without an account or an API key: Claude (Opus, Fable, Sonnet, Haiku), GPT-6 or Grok, one call",
    "description": "Use this when you need an answer from a frontier AI model without an account or an API key: Claude (Opus, Fable, Sonnet, Haiku), GPT-6 or Grok, one call. OpenAI-style messages in, an OpenAI chat.completion out (choices, usage). The price is quoted before the call from your input and max_tokens at the model rate, plus a small margin; a failed call is not charged. Text only, no tools. With an API key: its real cost, up to $undefined (\"quote\": true gives the maximum for your arguments), billed in $SWOGE at the live price. Without a key (x402): $0.006642 now in USDC on Base, $0.02 on Robinhood Chain, in USDC on Base or USDG or $SWOGE on Robinhood Chain (tool price + settlement cost, minimum $0.02; the payer pays no gas on either network); the 402 quotes the exact amount for your arguments.",
    "tags": [
     "ai-models",
     "research"
    ],
    "requestBody": {
     "required": true,
     "content": {
      "application/json": {
       "schema": {
        "type": "object",
        "properties": {
         "arguments": {
          "type": "object",
          "properties": {
           "model": {
            "type": "string",
            "enum": [
             "opus-5-5",
             "fable-5-1",
             "sonnet-5",
             "haiku-4-5",
             "gpt-6-astra",
             "gpt-6-sol",
             "gpt-6-luna",
             "grok-4-7",
             "grok-4-20-reasoning",
             "grok-4-3",
             "venice-uncensored",
             "dolphin-venice",
             "deepseek-flash",
             "deepseek-v4-pro",
             "mistral-large"
            ],
            "description": "the model (default haiku-4-5)"
           },
           "messages": {
            "type": "array",
            "items": {
             "type": "object",
             "properties": {
              "role": {
               "type": "string",
               "enum": [
                "system",
                "user",
                "assistant"
               ]
              },
              "content": {
               "type": "string"
              }
             },
             "required": [
              "role",
              "content"
             ]
            },
            "description": "the conversation, OpenAI style, text only, the last message from the user (50 messages, 24,000 characters at most)"
           },
           "max_tokens": {
            "type": "integer",
            "description": "the most the answer may use, reasoning included (default 1024); the price is computed from it"
           }
          },
          "required": [
           "messages"
          ]
         },
         "quote": {
          "type": "boolean",
          "description": "true: return the price of this call without running or charging it"
         }
        },
        "required": [
         "arguments"
        ]
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "The tool result: `resultat` (data), `texte` (the same, as text for a model) and the receipt — `facture`, `solde`, `recu` with an API key, `x402` without one",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "ok": {
           "type": "boolean",
           "const": true
          },
          "outil": {
           "type": "string",
           "const": "chat_completion"
          },
          "resultat": {
           "type": "object",
           "properties": {
            "id": {
             "type": "string",
             "description": "chatcmpl-…"
            },
            "object": {
             "type": "string",
             "description": "always chat.completion"
            },
            "created": {
             "type": "number",
             "description": "Unix time"
            },
            "model": {
             "type": "string",
             "description": "the model id asked"
            },
            "served": {
             "type": "string",
             "description": "the provider model that answered"
            },
            "choices": {
             "type": "array",
             "items": {
              "type": "object",
              "properties": {
               "index": {
                "type": "number"
               },
               "message": {
                "type": "object",
                "properties": {
                 "role": {
                  "type": "string",
                  "description": "always assistant"
                 },
                 "content": {
                  "type": "string",
                  "description": "the answer"
                 }
                },
                "required": [
                 "role",
                 "content"
                ]
               },
               "finish_reason": {
                "type": "string",
                "enum": [
                 "stop",
                 "length"
                ],
                "description": "length: max_tokens reached"
               }
              },
              "required": [
               "index",
               "message",
               "finish_reason"
              ]
             }
            },
            "usage": {
             "type": "object",
             "properties": {
              "prompt_tokens": {
               "type": "number"
              },
              "completion_tokens": {
               "type": "number",
               "description": "reasoning included"
              },
              "total_tokens": {
               "type": "number"
              }
             },
             "required": [
              "prompt_tokens",
              "completion_tokens",
              "total_tokens"
             ]
            }
           },
           "required": [
            "id",
            "object",
            "created",
            "model",
            "served",
            "choices",
            "usage"
           ]
          },
          "texte": {
           "type": "string",
           "description": "the same result as plain text, written for a language model"
          },
          "facture": {
           "type": "object",
           "properties": {
            "swoge": {
             "type": "string",
             "description": "$SWOGE billed, exact decimal string"
            },
            "usd": {
             "type": "number",
             "description": "USD billed"
            },
            "maxSwoge": {
             "type": "string",
             "description": "video: most it can bill"
            },
            "maxUsd": {
             "type": "number"
            },
            "aLArrivee": {
             "type": "boolean",
             "description": "video: billed when it arrives"
            }
           },
           "required": [
            "swoge",
            "usd"
           ],
           "description": "with an API key: what was billed"
          },
          "solde": {
           "type": "string",
           "description": "with an API key: the $SWOGE balance left"
          },
          "recu": {
           "type": "string",
           "description": "with an API key: the receipt id"
          },
          "x402": {
           "anyOf": [
            {
             "type": "object",
             "properties": {
              "transaction": {
               "type": "string",
               "description": "settlement transaction hash"
              },
              "network": {
               "type": "string",
               "description": "eip155:4663"
              },
              "amount": {
               "type": "string",
               "description": "atomic units paid"
              },
              "asset": {
               "type": "string",
               "description": "token paid (USDG or $SWOGE)"
              }
             },
             "required": [
              "transaction",
              "network",
              "amount",
              "asset"
             ],
             "description": "paid without a key: the x402 settlement (also in the PAYMENT-RESPONSE header)"
            },
            {
             "type": "object",
             "properties": {
              "x402Version": {
               "type": "integer"
              },
              "resource": {
               "type": "object"
              },
              "accepts": {
               "type": "array",
               "items": {
                "type": "object"
               }
              },
              "extensions": {
               "type": "object"
              }
             },
             "required": [
              "accepts"
             ],
             "description": "in a quote without a key: the x402 requirements of this exact call, payable as they are"
            }
           ]
          },
          "devis": {
           "type": "object",
           "description": "with \"quote\": true: the price of this call — nothing run, nothing charged"
          },
          "quote": {
           "type": "boolean",
           "const": true,
           "description": "set on a quote"
          },
          "tool": {
           "type": "string",
           "description": "on a quote: the tool"
          },
          "priceUsd": {
           "type": "number",
           "description": "on a quote: the price (the maximum for a real-cost tool)"
          },
          "howToPay": {
           "type": "string",
           "description": "on a quote: how to pay for this tool, with or without a key"
          }
         },
         "required": [
          "ok",
          "outil"
         ]
        },
        "example": {
         "ok": true,
         "outil": "chat_completion",
         "resultat": {
          "id": "chatcmpl-5b1f0c9e2a7d4e8f9a1b2c3d",
          "object": "chat.completion",
          "created": 1790550000,
          "model": "haiku-4-5",
          "served": "claude-haiku-4-5",
          "choices": [
           {
            "index": 0,
            "message": {
             "role": "assistant",
             "content": "Hello there, nice to meet!"
            },
            "finish_reason": "stop"
           }
          ],
          "usage": {
           "prompt_tokens": 16,
           "completion_tokens": 9,
           "total_tokens": 25
          }
         },
         "texte": "Hello there, nice to meet!",
         "x402": {
          "transaction": "0x8c1f3e2d4b5a69788796a5b4c3d2e1f00f1e2d3c4b5a69788796a5b4c3d2e1f0",
          "network": "eip155:8453",
          "amount": "6642",
          "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"
         }
        }
       }
      }
     },
     "400": {
      "description": "Invalid arguments — nothing is charged"
     },
     "401": {
      "description": "An API key was sent but is unknown or revoked"
     },
     "402": {
      "description": "Payment Required — without a key, the x402 v2 challenge for this exact request (also base64 in the PAYMENT-REQUIRED header); with an API key, the balance or the daily cap is too low",
      "headers": {
       "PAYMENT-REQUIRED": {
        "description": "base64 JSON of the x402 v2 PaymentRequired object",
        "schema": {
         "type": "string"
        }
       }
      },
      "content": {
       "application/json": {
        "schema": {
         "anyOf": [
          {
           "$ref": "#/components/schemas/PaymentRequired"
          },
          {
           "$ref": "#/components/schemas/KeyRefusal"
          }
         ]
        },
        "example": {
         "ok": false,
         "x402Version": 2,
         "error": "PAYMENT-SIGNATURE header is required",
         "resource": {
          "url": "https://web-production-220a3.up.railway.app/agentic/call/chat_completion",
          "description": "SwogeAgentic tool chat_completion. Price: $0.006642 in USDC on Base, or $0.02 in USDG or $SWOGE on Robinhood Chain (tool price + settlement cost, minimum $0.02).",
          "mimeType": "application/json"
         },
         "accepts": [
          {
           "scheme": "exact",
           "network": "eip155:8453",
           "amount": "6642",
           "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
           "payTo": "0xE81C67c086c83997b41673e1e41e481c14D756F6",
           "maxTimeoutSeconds": 120,
           "extra": {
            "name": "USD Coin",
            "version": "2"
           }
          },
          {
           "scheme": "exact",
           "network": "eip155:4663",
           "amount": "20000",
           "asset": "0x5fc5360D0400a0Fd4f2af552ADD042D716F1d168",
           "payTo": "0xE81C67c086c83997b41673e1e41e481c14D756F6",
           "maxTimeoutSeconds": 120,
           "extra": {
            "assetTransferMethod": "eip3009",
            "name": "Global Dollar",
            "version": "1"
           }
          },
          {
           "scheme": "exact",
           "network": "eip155:4663",
           "amount": "5494945327039461517415",
           "asset": "0x8a166Fb41Cd659a0a43396272FF73973Ce29F817",
           "payTo": "0xE81C67c086c83997b41673e1e41e481c14D756F6",
           "maxTimeoutSeconds": 120,
           "extra": {
            "assetTransferMethod": "permit2",
            "name": "Swole Doge",
            "version": "1"
           }
          }
         ],
         "extensions": {
          "eip2612GasSponsoring": {
           "info": {
            "description": "The server accepts an EIP-2612 permit to the canonical Permit2 contract (value = the exact payment amount) and pays the gas.",
            "version": "1"
           }
          }
         }
        }
       }
      }
     },
     "429": {
      "description": "Too many calls (60 per minute per key) or too many free quotes"
     },
     "502": {
      "description": "The tool or its provider failed — nothing is charged"
     },
     "503": {
      "description": "Unavailable right now (price or provider) — nothing is charged"
     }
    },
    "security": [
     {
      "cleApi": []
     },
     {}
    ],
    "x-payment-info": {
     "protocols": [
      {
       "x402": {}
      }
     ],
     "price": {
      "mode": "dynamic",
      "currency": "USD",
      "min": "0.006642",
      "max": "0.020000"
     }
    }
   }
  },
  "/agentic/call/robinhood_token": {
   "post": {
    "operationId": "robinhood_token",
    "summary": "Use this when you need to know what a Robinhood Chain contract is before touching it: one call, decoded",
    "description": "Use this when you need to know what a Robinhood Chain contract is before touching it: one call, decoded. Returns ERC-20 name, symbol, decimals and supply, the owner (or renounced), the EIP-1967 proxy implementation, the powers its code exposes (mint, blacklist, pause, fee setter; read in the implementation behind a proxy) and the DexScreener price, liquidity and market cap. With an API key: $0.003 per call, billed in $SWOGE at the live price. Without a key (x402): $0.005 now in USDC on Base, $0.02 on Robinhood Chain, in USDC on Base or USDG or $SWOGE on Robinhood Chain (tool price + settlement cost, minimum $0.02; the payer pays no gas on either network); the 402 quotes the exact amount for your arguments.",
    "tags": [
     "robinhood-chain",
     "crypto",
     "token-security"
    ],
    "requestBody": {
     "required": true,
     "content": {
      "application/json": {
       "schema": {
        "type": "object",
        "properties": {
         "arguments": {
          "type": "object",
          "properties": {
           "address": {
            "type": "string",
            "description": "address on Robinhood Chain, 0x followed by 40 hex characters"
           }
          },
          "required": [
           "address"
          ]
         },
         "quote": {
          "type": "boolean",
          "description": "true: return the price of this call without running or charging it"
         }
        },
        "required": [
         "arguments"
        ]
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "The tool result: `resultat` (data), `texte` (the same, as text for a model) and the receipt — `facture`, `solde`, `recu` with an API key, `x402` without one",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "ok": {
           "type": "boolean",
           "const": true
          },
          "outil": {
           "type": "string",
           "const": "robinhood_token"
          },
          "resultat": {
           "type": "object",
           "properties": {
            "chain": {
             "type": "string",
             "description": "always robinhood"
            },
            "address": {
             "type": "string",
             "description": "lower case"
            },
            "isContract": {
             "type": "boolean",
             "description": "false for a wallet"
            },
            "note": {
             "type": "string",
             "description": "only when there is no code"
            },
            "codeBytes": {
             "type": "number",
             "description": "size of the deployed code"
            },
            "erc20": {
             "type": [
              "object",
              "null"
             ],
             "properties": {
              "name": {
               "type": [
                "string",
                "null"
               ]
              },
              "symbol": {
               "type": [
                "string",
                "null"
               ]
              },
              "decimals": {
               "type": [
                "number",
                "null"
               ]
              },
              "totalSupply": {
               "type": [
                "string",
                "null"
               ],
               "description": "raw units, as a decimal string"
              },
              "totalSupplyUnits": {
               "type": [
                "number",
                "null"
               ],
               "description": "supply in token units"
              }
             },
             "required": [
              "name",
              "symbol",
              "decimals",
              "totalSupply",
              "totalSupplyUnits"
             ],
             "description": "null when not an ERC-20"
            },
            "owner": {
             "type": [
              "string",
              "null"
             ],
             "description": "owner() address, \"renounced (zero address)\", or null without owner()"
            },
            "proxy": {
             "type": [
              "object",
              "null"
             ],
             "properties": {
              "standard": {
               "type": "string",
               "description": "EIP-1967"
              },
              "implementation": {
               "type": "string"
              },
              "admin": {
               "type": [
                "string",
                "null"
               ]
              }
             },
             "required": [
              "standard",
              "implementation",
              "admin"
             ],
             "description": "null when not an EIP-1967 proxy"
            },
            "powers": {
             "type": "object",
             "properties": {
              "readFrom": {
               "type": "string",
               "enum": [
                "contract",
                "implementation"
               ]
              },
              "mint": {
               "type": "boolean"
              },
              "blacklist": {
               "type": "boolean"
              },
              "pause": {
               "type": "boolean"
              },
              "feeSetter": {
               "type": "boolean"
              },
              "note": {
               "type": "string"
              }
             },
             "required": [
              "readFrom",
              "mint",
              "blacklist",
              "pause",
              "feeSetter",
              "note"
             ]
            },
            "market": {
             "type": [
              "object",
              "null"
             ],
             "properties": {
              "priceUsd": {
               "type": [
                "number",
                "null"
               ]
              },
              "liquidityUsd": {
               "type": [
                "number",
                "null"
               ]
              },
              "pool": {
               "type": [
                "string",
                "null"
               ]
              },
              "url": {
               "type": [
                "string",
                "null"
               ]
              },
              "marketCapUsd": {
               "type": [
                "number",
                "null"
               ],
               "description": "price x supply"
              }
             },
             "required": [
              "priceUsd",
              "liquidityUsd",
              "pool",
              "url",
              "marketCapUsd"
             ],
             "description": "DexScreener, null without a pool"
            }
           },
           "required": [
            "chain",
            "address",
            "isContract"
           ]
          },
          "texte": {
           "type": "string",
           "description": "the same result as plain text, written for a language model"
          },
          "facture": {
           "type": "object",
           "properties": {
            "swoge": {
             "type": "string",
             "description": "$SWOGE billed, exact decimal string"
            },
            "usd": {
             "type": "number",
             "description": "USD billed"
            },
            "maxSwoge": {
             "type": "string",
             "description": "video: most it can bill"
            },
            "maxUsd": {
             "type": "number"
            },
            "aLArrivee": {
             "type": "boolean",
             "description": "video: billed when it arrives"
            }
           },
           "required": [
            "swoge",
            "usd"
           ],
           "description": "with an API key: what was billed"
          },
          "solde": {
           "type": "string",
           "description": "with an API key: the $SWOGE balance left"
          },
          "recu": {
           "type": "string",
           "description": "with an API key: the receipt id"
          },
          "x402": {
           "anyOf": [
            {
             "type": "object",
             "properties": {
              "transaction": {
               "type": "string",
               "description": "settlement transaction hash"
              },
              "network": {
               "type": "string",
               "description": "eip155:4663"
              },
              "amount": {
               "type": "string",
               "description": "atomic units paid"
              },
              "asset": {
               "type": "string",
               "description": "token paid (USDG or $SWOGE)"
              }
             },
             "required": [
              "transaction",
              "network",
              "amount",
              "asset"
             ],
             "description": "paid without a key: the x402 settlement (also in the PAYMENT-RESPONSE header)"
            },
            {
             "type": "object",
             "properties": {
              "x402Version": {
               "type": "integer"
              },
              "resource": {
               "type": "object"
              },
              "accepts": {
               "type": "array",
               "items": {
                "type": "object"
               }
              },
              "extensions": {
               "type": "object"
              }
             },
             "required": [
              "accepts"
             ],
             "description": "in a quote without a key: the x402 requirements of this exact call, payable as they are"
            }
           ]
          },
          "devis": {
           "type": "object",
           "description": "with \"quote\": true: the price of this call — nothing run, nothing charged"
          },
          "quote": {
           "type": "boolean",
           "const": true,
           "description": "set on a quote"
          },
          "tool": {
           "type": "string",
           "description": "on a quote: the tool"
          },
          "priceUsd": {
           "type": "number",
           "description": "on a quote: the price (the maximum for a real-cost tool)"
          },
          "howToPay": {
           "type": "string",
           "description": "on a quote: how to pay for this tool, with or without a key"
          }
         },
         "required": [
          "ok",
          "outil"
         ]
        },
        "example": {
         "ok": true,
         "outil": "robinhood_token",
         "resultat": {
          "chain": "robinhood",
          "address": "0x8a166fb41cd659a0a43396272ff73973ce29f817",
          "isContract": true,
          "codeBytes": 2466,
          "erc20": {
           "name": "Swole Doge",
           "symbol": "SWOGE",
           "decimals": 18,
           "totalSupply": "1000000000000000000000000000",
           "totalSupplyUnits": 1000000000
          },
          "owner": "renounced (zero address)",
          "proxy": null,
          "powers": {
           "readFrom": "contract",
           "mint": false,
           "blacklist": false,
           "pause": false,
           "feeSetter": false,
           "note": "function selectors exposed by the dispatcher: a power the code has, not proof it is used"
          },
          "market": {
           "priceUsd": 0.00002579,
           "liquidityUsd": 13569,
           "pool": "0xpool",
           "url": "https://dexscreener.com/robinhood/0xpool",
           "marketCapUsd": 25790
          }
         },
         "texte": "Robinhood Chain contract 0x8a166fb41cd659a0a43396272ff73973ce29f817: $SWOGE \"Swole Doge\", 1,000,000,000 supply, 18 decimals. Owner: renounced (zero address)…",
         "x402": {
          "transaction": "0x8c1f3e2d4b5a69788796a5b4c3d2e1f00f1e2d3c4b5a69788796a5b4c3d2e1f0",
          "network": "eip155:8453",
          "amount": "5000",
          "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"
         }
        }
       }
      }
     },
     "400": {
      "description": "Invalid arguments — nothing is charged"
     },
     "401": {
      "description": "An API key was sent but is unknown or revoked"
     },
     "402": {
      "description": "Payment Required — without a key, the x402 v2 challenge for this exact request (also base64 in the PAYMENT-REQUIRED header); with an API key, the balance or the daily cap is too low",
      "headers": {
       "PAYMENT-REQUIRED": {
        "description": "base64 JSON of the x402 v2 PaymentRequired object",
        "schema": {
         "type": "string"
        }
       }
      },
      "content": {
       "application/json": {
        "schema": {
         "anyOf": [
          {
           "$ref": "#/components/schemas/PaymentRequired"
          },
          {
           "$ref": "#/components/schemas/KeyRefusal"
          }
         ]
        },
        "example": {
         "ok": false,
         "x402Version": 2,
         "error": "PAYMENT-SIGNATURE header is required",
         "resource": {
          "url": "https://web-production-220a3.up.railway.app/agentic/call/robinhood_token",
          "description": "SwogeAgentic tool robinhood_token. Price: $0.005 in USDC on Base, or $0.02 in USDG or $SWOGE on Robinhood Chain (tool price + settlement cost, minimum $0.02).",
          "mimeType": "application/json"
         },
         "accepts": [
          {
           "scheme": "exact",
           "network": "eip155:8453",
           "amount": "5000",
           "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
           "payTo": "0xE81C67c086c83997b41673e1e41e481c14D756F6",
           "maxTimeoutSeconds": 120,
           "extra": {
            "name": "USD Coin",
            "version": "2"
           }
          },
          {
           "scheme": "exact",
           "network": "eip155:4663",
           "amount": "20000",
           "asset": "0x5fc5360D0400a0Fd4f2af552ADD042D716F1d168",
           "payTo": "0xE81C67c086c83997b41673e1e41e481c14D756F6",
           "maxTimeoutSeconds": 120,
           "extra": {
            "assetTransferMethod": "eip3009",
            "name": "Global Dollar",
            "version": "1"
           }
          },
          {
           "scheme": "exact",
           "network": "eip155:4663",
           "amount": "5494945327039461517415",
           "asset": "0x8a166Fb41Cd659a0a43396272FF73973Ce29F817",
           "payTo": "0xE81C67c086c83997b41673e1e41e481c14D756F6",
           "maxTimeoutSeconds": 120,
           "extra": {
            "assetTransferMethod": "permit2",
            "name": "Swole Doge",
            "version": "1"
           }
          }
         ],
         "extensions": {
          "eip2612GasSponsoring": {
           "info": {
            "description": "The server accepts an EIP-2612 permit to the canonical Permit2 contract (value = the exact payment amount) and pays the gas.",
            "version": "1"
           }
          }
         }
        }
       }
      }
     },
     "429": {
      "description": "Too many calls (60 per minute per key) or too many free quotes"
     },
     "502": {
      "description": "The tool or its provider failed — nothing is charged"
     },
     "503": {
      "description": "Unavailable right now (price or provider) — nothing is charged"
     }
    },
    "security": [
     {
      "cleApi": []
     },
     {}
    ],
    "x-payment-info": {
     "protocols": [
      {
       "x402": {}
      }
     ],
     "price": {
      "mode": "dynamic",
      "currency": "USD",
      "min": "0.005000",
      "max": "0.020000"
     }
    }
   }
  },
  "/agentic/call/robinhood_wallet": {
   "post": {
    "operationId": "robinhood_wallet",
    "summary": "Use this when you need the holdings of a Robinhood Chain address: ETH plus up to 20 tokens, read on-chain in one Multicall3 call",
    "description": "Use this when you need the holdings of a Robinhood Chain address: ETH plus up to 20 tokens, read on-chain in one Multicall3 call. Returns each balance in units with its symbol and decimals, the DexScreener price and USD value when known (unknown stays null, never zero), and the total. With an API key: $0.003 per call, billed in $SWOGE at the live price. Without a key (x402): $0.005 now in USDC on Base, $0.02 on Robinhood Chain, in USDC on Base or USDG or $SWOGE on Robinhood Chain (tool price + settlement cost, minimum $0.02; the payer pays no gas on either network); the 402 quotes the exact amount for your arguments.",
    "tags": [
     "robinhood-chain",
     "crypto"
    ],
    "requestBody": {
     "required": true,
     "content": {
      "application/json": {
       "schema": {
        "type": "object",
        "properties": {
         "arguments": {
          "type": "object",
          "properties": {
           "address": {
            "type": "string",
            "description": "address on Robinhood Chain, 0x followed by 40 hex characters"
           },
           "tokens": {
            "type": "array",
            "items": {
             "type": "string"
            },
            "description": "up to 20 token addresses to read (default: $SWOGE and USDG)"
           }
          },
          "required": [
           "address"
          ]
         },
         "quote": {
          "type": "boolean",
          "description": "true: return the price of this call without running or charging it"
         }
        },
        "required": [
         "arguments"
        ]
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "The tool result: `resultat` (data), `texte` (the same, as text for a model) and the receipt — `facture`, `solde`, `recu` with an API key, `x402` without one",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "ok": {
           "type": "boolean",
           "const": true
          },
          "outil": {
           "type": "string",
           "const": "robinhood_wallet"
          },
          "resultat": {
           "type": "object",
           "properties": {
            "chain": {
             "type": "string",
             "description": "always robinhood"
            },
            "address": {
             "type": "string",
             "description": "lower case"
            },
            "eth": {
             "type": "object",
             "properties": {
              "balance": {
               "type": [
                "number",
                "null"
               ],
               "description": "ETH"
              },
              "priceUsd": {
               "type": [
                "number",
                "null"
               ]
              },
              "valueUsd": {
               "type": [
                "number",
                "null"
               ]
              }
             },
             "required": [
              "balance",
              "priceUsd",
              "valueUsd"
             ]
            },
            "tokens": {
             "type": "array",
             "items": {
              "type": "object",
              "properties": {
               "token": {
                "type": "string"
               },
               "symbol": {
                "type": [
                 "string",
                 "null"
                ]
               },
               "decimals": {
                "type": [
                 "number",
                 "null"
                ]
               },
               "balance": {
                "type": [
                 "string",
                 "null"
                ],
                "description": "raw units, decimal string"
               },
               "balanceUnits": {
                "type": [
                 "number",
                 "null"
                ]
               },
               "priceUsd": {
                "type": [
                 "number",
                 "null"
                ],
                "description": "DexScreener"
               },
               "valueUsd": {
                "type": [
                 "number",
                 "null"
                ],
                "description": "null when the price is unknown, never zero"
               },
               "readable": {
                "type": "boolean",
                "description": "false when balanceOf failed"
               }
              },
              "required": [
               "token",
               "symbol",
               "decimals",
               "balance",
               "balanceUnits",
               "priceUsd",
               "valueUsd",
               "readable"
              ]
             }
            },
            "totalValueUsd": {
             "type": [
              "number",
              "null"
             ],
             "description": "sum over known prices"
            },
            "note": {
             "type": "string"
            }
           },
           "required": [
            "chain",
            "address",
            "eth",
            "tokens",
            "totalValueUsd",
            "note"
           ]
          },
          "texte": {
           "type": "string",
           "description": "the same result as plain text, written for a language model"
          },
          "facture": {
           "type": "object",
           "properties": {
            "swoge": {
             "type": "string",
             "description": "$SWOGE billed, exact decimal string"
            },
            "usd": {
             "type": "number",
             "description": "USD billed"
            },
            "maxSwoge": {
             "type": "string",
             "description": "video: most it can bill"
            },
            "maxUsd": {
             "type": "number"
            },
            "aLArrivee": {
             "type": "boolean",
             "description": "video: billed when it arrives"
            }
           },
           "required": [
            "swoge",
            "usd"
           ],
           "description": "with an API key: what was billed"
          },
          "solde": {
           "type": "string",
           "description": "with an API key: the $SWOGE balance left"
          },
          "recu": {
           "type": "string",
           "description": "with an API key: the receipt id"
          },
          "x402": {
           "anyOf": [
            {
             "type": "object",
             "properties": {
              "transaction": {
               "type": "string",
               "description": "settlement transaction hash"
              },
              "network": {
               "type": "string",
               "description": "eip155:4663"
              },
              "amount": {
               "type": "string",
               "description": "atomic units paid"
              },
              "asset": {
               "type": "string",
               "description": "token paid (USDG or $SWOGE)"
              }
             },
             "required": [
              "transaction",
              "network",
              "amount",
              "asset"
             ],
             "description": "paid without a key: the x402 settlement (also in the PAYMENT-RESPONSE header)"
            },
            {
             "type": "object",
             "properties": {
              "x402Version": {
               "type": "integer"
              },
              "resource": {
               "type": "object"
              },
              "accepts": {
               "type": "array",
               "items": {
                "type": "object"
               }
              },
              "extensions": {
               "type": "object"
              }
             },
             "required": [
              "accepts"
             ],
             "description": "in a quote without a key: the x402 requirements of this exact call, payable as they are"
            }
           ]
          },
          "devis": {
           "type": "object",
           "description": "with \"quote\": true: the price of this call — nothing run, nothing charged"
          },
          "quote": {
           "type": "boolean",
           "const": true,
           "description": "set on a quote"
          },
          "tool": {
           "type": "string",
           "description": "on a quote: the tool"
          },
          "priceUsd": {
           "type": "number",
           "description": "on a quote: the price (the maximum for a real-cost tool)"
          },
          "howToPay": {
           "type": "string",
           "description": "on a quote: how to pay for this tool, with or without a key"
          }
         },
         "required": [
          "ok",
          "outil"
         ]
        },
        "example": {
         "ok": true,
         "outil": "robinhood_wallet",
         "resultat": {
          "chain": "robinhood",
          "address": "0x5593c8141303d14999df7aa03dd3d3a6d4335fab",
          "eth": {
           "balance": 0,
           "priceUsd": 4000,
           "valueUsd": 0
          },
          "tokens": [
           {
            "token": "0x8a166fb41cd659a0a43396272ff73973ce29f817",
            "symbol": "SWOGE",
            "decimals": 18,
            "balance": "15155373088977158000000000",
            "balanceUnits": 15155373.09,
            "priceUsd": 0.00002579,
            "valueUsd": 390.86,
            "readable": true
           }
          ],
          "totalValueUsd": 390.86,
          "note": "balances read on-chain in one Multicall3 call; prices from DexScreener (deepest pool), null when unknown - an unknown price is not zero"
         },
         "texte": "Wallet 0x5593c8141303d14999df7aa03dd3d3a6d4335fab on Robinhood Chain: 0 ETH ($0); 15155373.09 SWOGE ($390.86)…",
         "x402": {
          "transaction": "0x8c1f3e2d4b5a69788796a5b4c3d2e1f00f1e2d3c4b5a69788796a5b4c3d2e1f0",
          "network": "eip155:8453",
          "amount": "5000",
          "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"
         }
        }
       }
      }
     },
     "400": {
      "description": "Invalid arguments — nothing is charged"
     },
     "401": {
      "description": "An API key was sent but is unknown or revoked"
     },
     "402": {
      "description": "Payment Required — without a key, the x402 v2 challenge for this exact request (also base64 in the PAYMENT-REQUIRED header); with an API key, the balance or the daily cap is too low",
      "headers": {
       "PAYMENT-REQUIRED": {
        "description": "base64 JSON of the x402 v2 PaymentRequired object",
        "schema": {
         "type": "string"
        }
       }
      },
      "content": {
       "application/json": {
        "schema": {
         "anyOf": [
          {
           "$ref": "#/components/schemas/PaymentRequired"
          },
          {
           "$ref": "#/components/schemas/KeyRefusal"
          }
         ]
        },
        "example": {
         "ok": false,
         "x402Version": 2,
         "error": "PAYMENT-SIGNATURE header is required",
         "resource": {
          "url": "https://web-production-220a3.up.railway.app/agentic/call/robinhood_wallet",
          "description": "SwogeAgentic tool robinhood_wallet. Price: $0.005 in USDC on Base, or $0.02 in USDG or $SWOGE on Robinhood Chain (tool price + settlement cost, minimum $0.02).",
          "mimeType": "application/json"
         },
         "accepts": [
          {
           "scheme": "exact",
           "network": "eip155:8453",
           "amount": "5000",
           "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
           "payTo": "0xE81C67c086c83997b41673e1e41e481c14D756F6",
           "maxTimeoutSeconds": 120,
           "extra": {
            "name": "USD Coin",
            "version": "2"
           }
          },
          {
           "scheme": "exact",
           "network": "eip155:4663",
           "amount": "20000",
           "asset": "0x5fc5360D0400a0Fd4f2af552ADD042D716F1d168",
           "payTo": "0xE81C67c086c83997b41673e1e41e481c14D756F6",
           "maxTimeoutSeconds": 120,
           "extra": {
            "assetTransferMethod": "eip3009",
            "name": "Global Dollar",
            "version": "1"
           }
          },
          {
           "scheme": "exact",
           "network": "eip155:4663",
           "amount": "5494945327039461517415",
           "asset": "0x8a166Fb41Cd659a0a43396272FF73973Ce29F817",
           "payTo": "0xE81C67c086c83997b41673e1e41e481c14D756F6",
           "maxTimeoutSeconds": 120,
           "extra": {
            "assetTransferMethod": "permit2",
            "name": "Swole Doge",
            "version": "1"
           }
          }
         ],
         "extensions": {
          "eip2612GasSponsoring": {
           "info": {
            "description": "The server accepts an EIP-2612 permit to the canonical Permit2 contract (value = the exact payment amount) and pays the gas.",
            "version": "1"
           }
          }
         }
        }
       }
      }
     },
     "429": {
      "description": "Too many calls (60 per minute per key) or too many free quotes"
     },
     "502": {
      "description": "The tool or its provider failed — nothing is charged"
     },
     "503": {
      "description": "Unavailable right now (price or provider) — nothing is charged"
     }
    },
    "security": [
     {
      "cleApi": []
     },
     {}
    ],
    "x-payment-info": {
     "protocols": [
      {
       "x402": {}
      }
     ],
     "price": {
      "mode": "dynamic",
      "currency": "USD",
      "min": "0.005000",
      "max": "0.020000"
     }
    }
   }
  },
  "/agentic/call/robinhood_tx": {
   "post": {
    "operationId": "robinhood_tx",
    "summary": "Use this when you need to understand what a Robinhood Chain transaction did",
    "description": "Use this when you need to understand what a Robinhood Chain transaction did. Returns its status, from, to, method, gas and fee in ETH and USD, every ERC-20 transfer decoded with symbol and amount, and the Uniswap v2, v3 or v4 swaps it contains. With an API key: $0.003 per call, billed in $SWOGE at the live price. Without a key (x402): $0.005 now in USDC on Base, $0.02 on Robinhood Chain, in USDC on Base or USDG or $SWOGE on Robinhood Chain (tool price + settlement cost, minimum $0.02; the payer pays no gas on either network); the 402 quotes the exact amount for your arguments.",
    "tags": [
     "robinhood-chain",
     "crypto"
    ],
    "requestBody": {
     "required": true,
     "content": {
      "application/json": {
       "schema": {
        "type": "object",
        "properties": {
         "arguments": {
          "type": "object",
          "properties": {
           "hash": {
            "type": "string",
            "description": "transaction hash, 0x followed by 64 hex characters"
           }
          },
          "required": [
           "hash"
          ]
         },
         "quote": {
          "type": "boolean",
          "description": "true: return the price of this call without running or charging it"
         }
        },
        "required": [
         "arguments"
        ]
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "The tool result: `resultat` (data), `texte` (the same, as text for a model) and the receipt — `facture`, `solde`, `recu` with an API key, `x402` without one",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "ok": {
           "type": "boolean",
           "const": true
          },
          "outil": {
           "type": "string",
           "const": "robinhood_tx"
          },
          "resultat": {
           "type": "object",
           "properties": {
            "chain": {
             "type": "string",
             "description": "always robinhood"
            },
            "hash": {
             "type": "string"
            },
            "status": {
             "type": "string",
             "enum": [
              "success",
              "reverted",
              "pending"
             ]
            },
            "block": {
             "type": [
              "number",
              "null"
             ]
            },
            "from": {
             "type": "string"
            },
            "to": {
             "type": [
              "string",
              "null"
             ],
             "description": "null for a contract creation"
            },
            "contractCreated": {
             "type": [
              "string",
              "null"
             ]
            },
            "valueEth": {
             "type": "number"
            },
            "method": {
             "type": [
              "string",
              "null"
             ],
             "description": "4-byte selector"
            },
            "gasUsed": {
             "type": [
              "number",
              "null"
             ]
            },
            "feeEth": {
             "type": [
              "number",
              "null"
             ]
            },
            "feeUsd": {
             "type": [
              "number",
              "null"
             ],
             "description": "at today's ETH price"
            },
            "transfers": {
             "type": "array",
             "items": {
              "type": "object",
              "properties": {
               "token": {
                "type": "string"
               },
               "symbol": {
                "type": [
                 "string",
                 "null"
                ]
               },
               "from": {
                "type": "string"
               },
               "to": {
                "type": "string"
               },
               "amount": {
                "type": "string",
                "description": "raw units"
               },
               "amountUnits": {
                "type": [
                 "number",
                 "null"
                ]
               },
               "valueUsdNow": {
                "type": [
                 "number",
                 "null"
                ],
                "description": "at today's price"
               }
              },
              "required": [
               "token",
               "symbol",
               "from",
               "to",
               "amount",
               "amountUnits",
               "valueUsdNow"
              ]
             },
             "description": "ERC-20 transfers, 50 at most"
            },
            "transfersTruncated": {
             "type": "boolean"
            },
            "swaps": {
             "type": "array",
             "items": {
              "type": "object",
              "properties": {
               "uniswap": {
                "type": "string",
                "enum": [
                 "v2",
                 "v3",
                 "v4"
                ]
               },
               "pool": {
                "type": "string",
                "description": "pool address, or the v4 pool id"
               }
              },
              "required": [
               "uniswap",
               "pool"
              ]
             }
            },
            "logCount": {
             "type": "number"
            },
            "note": {
             "type": "string"
            }
           },
           "required": [
            "chain",
            "hash",
            "status",
            "block",
            "from",
            "to",
            "contractCreated",
            "valueEth",
            "method",
            "gasUsed",
            "feeEth",
            "feeUsd",
            "transfers",
            "transfersTruncated",
            "swaps",
            "logCount",
            "note"
           ]
          },
          "texte": {
           "type": "string",
           "description": "the same result as plain text, written for a language model"
          },
          "facture": {
           "type": "object",
           "properties": {
            "swoge": {
             "type": "string",
             "description": "$SWOGE billed, exact decimal string"
            },
            "usd": {
             "type": "number",
             "description": "USD billed"
            },
            "maxSwoge": {
             "type": "string",
             "description": "video: most it can bill"
            },
            "maxUsd": {
             "type": "number"
            },
            "aLArrivee": {
             "type": "boolean",
             "description": "video: billed when it arrives"
            }
           },
           "required": [
            "swoge",
            "usd"
           ],
           "description": "with an API key: what was billed"
          },
          "solde": {
           "type": "string",
           "description": "with an API key: the $SWOGE balance left"
          },
          "recu": {
           "type": "string",
           "description": "with an API key: the receipt id"
          },
          "x402": {
           "anyOf": [
            {
             "type": "object",
             "properties": {
              "transaction": {
               "type": "string",
               "description": "settlement transaction hash"
              },
              "network": {
               "type": "string",
               "description": "eip155:4663"
              },
              "amount": {
               "type": "string",
               "description": "atomic units paid"
              },
              "asset": {
               "type": "string",
               "description": "token paid (USDG or $SWOGE)"
              }
             },
             "required": [
              "transaction",
              "network",
              "amount",
              "asset"
             ],
             "description": "paid without a key: the x402 settlement (also in the PAYMENT-RESPONSE header)"
            },
            {
             "type": "object",
             "properties": {
              "x402Version": {
               "type": "integer"
              },
              "resource": {
               "type": "object"
              },
              "accepts": {
               "type": "array",
               "items": {
                "type": "object"
               }
              },
              "extensions": {
               "type": "object"
              }
             },
             "required": [
              "accepts"
             ],
             "description": "in a quote without a key: the x402 requirements of this exact call, payable as they are"
            }
           ]
          },
          "devis": {
           "type": "object",
           "description": "with \"quote\": true: the price of this call — nothing run, nothing charged"
          },
          "quote": {
           "type": "boolean",
           "const": true,
           "description": "set on a quote"
          },
          "tool": {
           "type": "string",
           "description": "on a quote: the tool"
          },
          "priceUsd": {
           "type": "number",
           "description": "on a quote: the price (the maximum for a real-cost tool)"
          },
          "howToPay": {
           "type": "string",
           "description": "on a quote: how to pay for this tool, with or without a key"
          }
         },
         "required": [
          "ok",
          "outil"
         ]
        },
        "example": {
         "ok": true,
         "outil": "robinhood_tx",
         "resultat": {
          "chain": "robinhood",
          "hash": "0x91dfeb2157f926164b5d7d4a02819a3b06b302f6694877c8fbb36502f426fbaf",
          "status": "success",
          "block": 74258956,
          "from": "0x93023bb3a59a63ecfb23301b94ad9101f1ed9973",
          "to": "0x540ee09a131bbffe1224ff5d85b3e9650f3d6089",
          "contractCreated": null,
          "valueEth": 0,
          "method": "0x3593564c",
          "gasUsed": 387269,
          "feeEth": 0.000003872689618,
          "feeUsd": 0.0155,
          "transfers": [
           {
            "token": "0x6e5b1e7b0b0e0f0e0d0c0b0a0908070605040302",
            "symbol": "VAULT",
            "from": "0x93023bb3A59a63ECFb23301B94Ad9101F1ED9973",
            "to": "0x540Ee09a131bbfFE1224Ff5D85B3e9650f3d6089",
            "amount": "54647729283119560000000000",
            "amountUnits": 54647729.28,
            "valueUsdNow": null
           }
          ],
          "transfersTruncated": false,
          "swaps": [
           {
            "uniswap": "v4",
            "pool": "0x8abd9b14d9732e9217bb11fe8d0cab08b1ed0d2f232cc216873eaa7c0b4fd922"
           }
          ],
          "logCount": 7,
          "note": "valueUsdNow uses today's DexScreener price, not the price at the time of the transaction"
         },
         "texte": "Robinhood Chain transaction 0x91df…: SUCCESS, from 0x93023b… to 0x540ee0…, fee 0.000003872689618 ETH ($0.0155). 2 token transfers…",
         "x402": {
          "transaction": "0x8c1f3e2d4b5a69788796a5b4c3d2e1f00f1e2d3c4b5a69788796a5b4c3d2e1f0",
          "network": "eip155:8453",
          "amount": "5000",
          "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"
         }
        }
       }
      }
     },
     "400": {
      "description": "Invalid arguments — nothing is charged"
     },
     "401": {
      "description": "An API key was sent but is unknown or revoked"
     },
     "402": {
      "description": "Payment Required — without a key, the x402 v2 challenge for this exact request (also base64 in the PAYMENT-REQUIRED header); with an API key, the balance or the daily cap is too low",
      "headers": {
       "PAYMENT-REQUIRED": {
        "description": "base64 JSON of the x402 v2 PaymentRequired object",
        "schema": {
         "type": "string"
        }
       }
      },
      "content": {
       "application/json": {
        "schema": {
         "anyOf": [
          {
           "$ref": "#/components/schemas/PaymentRequired"
          },
          {
           "$ref": "#/components/schemas/KeyRefusal"
          }
         ]
        },
        "example": {
         "ok": false,
         "x402Version": 2,
         "error": "PAYMENT-SIGNATURE header is required",
         "resource": {
          "url": "https://web-production-220a3.up.railway.app/agentic/call/robinhood_tx",
          "description": "SwogeAgentic tool robinhood_tx. Price: $0.005 in USDC on Base, or $0.02 in USDG or $SWOGE on Robinhood Chain (tool price + settlement cost, minimum $0.02).",
          "mimeType": "application/json"
         },
         "accepts": [
          {
           "scheme": "exact",
           "network": "eip155:8453",
           "amount": "5000",
           "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
           "payTo": "0xE81C67c086c83997b41673e1e41e481c14D756F6",
           "maxTimeoutSeconds": 120,
           "extra": {
            "name": "USD Coin",
            "version": "2"
           }
          },
          {
           "scheme": "exact",
           "network": "eip155:4663",
           "amount": "20000",
           "asset": "0x5fc5360D0400a0Fd4f2af552ADD042D716F1d168",
           "payTo": "0xE81C67c086c83997b41673e1e41e481c14D756F6",
           "maxTimeoutSeconds": 120,
           "extra": {
            "assetTransferMethod": "eip3009",
            "name": "Global Dollar",
            "version": "1"
           }
          },
          {
           "scheme": "exact",
           "network": "eip155:4663",
           "amount": "5494945327039461517415",
           "asset": "0x8a166Fb41Cd659a0a43396272FF73973Ce29F817",
           "payTo": "0xE81C67c086c83997b41673e1e41e481c14D756F6",
           "maxTimeoutSeconds": 120,
           "extra": {
            "assetTransferMethod": "permit2",
            "name": "Swole Doge",
            "version": "1"
           }
          }
         ],
         "extensions": {
          "eip2612GasSponsoring": {
           "info": {
            "description": "The server accepts an EIP-2612 permit to the canonical Permit2 contract (value = the exact payment amount) and pays the gas.",
            "version": "1"
           }
          }
         }
        }
       }
      }
     },
     "429": {
      "description": "Too many calls (60 per minute per key) or too many free quotes"
     },
     "502": {
      "description": "The tool or its provider failed — nothing is charged"
     },
     "503": {
      "description": "Unavailable right now (price or provider) — nothing is charged"
     }
    },
    "security": [
     {
      "cleApi": []
     },
     {}
    ],
    "x-payment-info": {
     "protocols": [
      {
       "x402": {}
      }
     ],
     "price": {
      "mode": "dynamic",
      "currency": "USD",
      "min": "0.005000",
      "max": "0.020000"
     }
    }
   }
  },
  "/agentic/call/robinhood_rpc": {
   "post": {
    "operationId": "robinhood_rpc",
    "summary": "Use this when you need a raw read on Robinhood Chain (chain id 4663) without running a node: one read-only JSON-RPC call",
    "description": "Use this when you need a raw read on Robinhood Chain (chain id 4663) without running a node: one read-only JSON-RPC call. Allowed: eth_blockNumber, eth_chainId, eth_gasPrice, eth_getBalance, eth_getCode, eth_getTransactionCount, eth_getStorageAt, eth_call, eth_estimateGas, eth_getTransactionByHash, eth_getTransactionReceipt, eth_getBlockByNumber and eth_getBlockByHash (headers), eth_getLogs (10,000 blocks, 500 logs at most). Returns the node answer as is. With an API key: $0.003 per call, billed in $SWOGE at the live price. Without a key (x402): $0.005 now in USDC on Base, $0.02 on Robinhood Chain, in USDC on Base or USDG or $SWOGE on Robinhood Chain (tool price + settlement cost, minimum $0.02; the payer pays no gas on either network); the 402 quotes the exact amount for your arguments.",
    "tags": [
     "robinhood-chain",
     "crypto"
    ],
    "requestBody": {
     "required": true,
     "content": {
      "application/json": {
       "schema": {
        "type": "object",
        "properties": {
         "arguments": {
          "type": "object",
          "properties": {
           "method": {
            "type": "string",
            "enum": [
             "eth_blockNumber",
             "eth_chainId",
             "eth_gasPrice",
             "eth_getBalance",
             "eth_getCode",
             "eth_getTransactionCount",
             "eth_getStorageAt",
             "eth_call",
             "eth_estimateGas",
             "eth_getTransactionByHash",
             "eth_getTransactionReceipt",
             "eth_getBlockByNumber",
             "eth_getBlockByHash",
             "eth_getLogs"
            ],
            "description": "the JSON-RPC method (read-only)"
           },
           "params": {
            "type": "array",
            "description": "its JSON-RPC params, as the node expects them"
           }
          },
          "required": [
           "method"
          ]
         },
         "quote": {
          "type": "boolean",
          "description": "true: return the price of this call without running or charging it"
         }
        },
        "required": [
         "arguments"
        ]
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "The tool result: `resultat` (data), `texte` (the same, as text for a model) and the receipt — `facture`, `solde`, `recu` with an API key, `x402` without one",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "ok": {
           "type": "boolean",
           "const": true
          },
          "outil": {
           "type": "string",
           "const": "robinhood_rpc"
          },
          "resultat": {
           "type": "object",
           "properties": {
            "chain": {
             "type": "string",
             "description": "always robinhood"
            },
            "chainId": {
             "type": "number",
             "description": "always 4663"
            },
            "method": {
             "type": "string",
             "description": "the JSON-RPC method called"
            },
            "result": {
             "description": "the node answer, as is (hex string, object, array or null)"
            },
            "truncated": {
             "type": "boolean",
             "description": "eth_getLogs: cut at 500 logs"
            }
           },
           "required": [
            "chain",
            "chainId",
            "method",
            "result",
            "truncated"
           ]
          },
          "texte": {
           "type": "string",
           "description": "the same result as plain text, written for a language model"
          },
          "facture": {
           "type": "object",
           "properties": {
            "swoge": {
             "type": "string",
             "description": "$SWOGE billed, exact decimal string"
            },
            "usd": {
             "type": "number",
             "description": "USD billed"
            },
            "maxSwoge": {
             "type": "string",
             "description": "video: most it can bill"
            },
            "maxUsd": {
             "type": "number"
            },
            "aLArrivee": {
             "type": "boolean",
             "description": "video: billed when it arrives"
            }
           },
           "required": [
            "swoge",
            "usd"
           ],
           "description": "with an API key: what was billed"
          },
          "solde": {
           "type": "string",
           "description": "with an API key: the $SWOGE balance left"
          },
          "recu": {
           "type": "string",
           "description": "with an API key: the receipt id"
          },
          "x402": {
           "anyOf": [
            {
             "type": "object",
             "properties": {
              "transaction": {
               "type": "string",
               "description": "settlement transaction hash"
              },
              "network": {
               "type": "string",
               "description": "eip155:4663"
              },
              "amount": {
               "type": "string",
               "description": "atomic units paid"
              },
              "asset": {
               "type": "string",
               "description": "token paid (USDG or $SWOGE)"
              }
             },
             "required": [
              "transaction",
              "network",
              "amount",
              "asset"
             ],
             "description": "paid without a key: the x402 settlement (also in the PAYMENT-RESPONSE header)"
            },
            {
             "type": "object",
             "properties": {
              "x402Version": {
               "type": "integer"
              },
              "resource": {
               "type": "object"
              },
              "accepts": {
               "type": "array",
               "items": {
                "type": "object"
               }
              },
              "extensions": {
               "type": "object"
              }
             },
             "required": [
              "accepts"
             ],
             "description": "in a quote without a key: the x402 requirements of this exact call, payable as they are"
            }
           ]
          },
          "devis": {
           "type": "object",
           "description": "with \"quote\": true: the price of this call — nothing run, nothing charged"
          },
          "quote": {
           "type": "boolean",
           "const": true,
           "description": "set on a quote"
          },
          "tool": {
           "type": "string",
           "description": "on a quote: the tool"
          },
          "priceUsd": {
           "type": "number",
           "description": "on a quote: the price (the maximum for a real-cost tool)"
          },
          "howToPay": {
           "type": "string",
           "description": "on a quote: how to pay for this tool, with or without a key"
          }
         },
         "required": [
          "ok",
          "outil"
         ]
        },
        "example": {
         "ok": true,
         "outil": "robinhood_rpc",
         "resultat": {
          "chain": "robinhood",
          "chainId": 4663,
          "method": "eth_blockNumber",
          "result": "0x46d2468",
          "truncated": false
         },
         "texte": "{\"chain\":\"robinhood\",\"chainId\":4663,\"method\":\"eth_blockNumber\",\"result\":\"0x46d2468\",\"truncated\":false}",
         "x402": {
          "transaction": "0x8c1f3e2d4b5a69788796a5b4c3d2e1f00f1e2d3c4b5a69788796a5b4c3d2e1f0",
          "network": "eip155:8453",
          "amount": "5000",
          "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"
         }
        }
       }
      }
     },
     "400": {
      "description": "Invalid arguments — nothing is charged"
     },
     "401": {
      "description": "An API key was sent but is unknown or revoked"
     },
     "402": {
      "description": "Payment Required — without a key, the x402 v2 challenge for this exact request (also base64 in the PAYMENT-REQUIRED header); with an API key, the balance or the daily cap is too low",
      "headers": {
       "PAYMENT-REQUIRED": {
        "description": "base64 JSON of the x402 v2 PaymentRequired object",
        "schema": {
         "type": "string"
        }
       }
      },
      "content": {
       "application/json": {
        "schema": {
         "anyOf": [
          {
           "$ref": "#/components/schemas/PaymentRequired"
          },
          {
           "$ref": "#/components/schemas/KeyRefusal"
          }
         ]
        },
        "example": {
         "ok": false,
         "x402Version": 2,
         "error": "PAYMENT-SIGNATURE header is required",
         "resource": {
          "url": "https://web-production-220a3.up.railway.app/agentic/call/robinhood_rpc",
          "description": "SwogeAgentic tool robinhood_rpc. Price: $0.005 in USDC on Base, or $0.02 in USDG or $SWOGE on Robinhood Chain (tool price + settlement cost, minimum $0.02).",
          "mimeType": "application/json"
         },
         "accepts": [
          {
           "scheme": "exact",
           "network": "eip155:8453",
           "amount": "5000",
           "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
           "payTo": "0xE81C67c086c83997b41673e1e41e481c14D756F6",
           "maxTimeoutSeconds": 120,
           "extra": {
            "name": "USD Coin",
            "version": "2"
           }
          },
          {
           "scheme": "exact",
           "network": "eip155:4663",
           "amount": "20000",
           "asset": "0x5fc5360D0400a0Fd4f2af552ADD042D716F1d168",
           "payTo": "0xE81C67c086c83997b41673e1e41e481c14D756F6",
           "maxTimeoutSeconds": 120,
           "extra": {
            "assetTransferMethod": "eip3009",
            "name": "Global Dollar",
            "version": "1"
           }
          },
          {
           "scheme": "exact",
           "network": "eip155:4663",
           "amount": "5494945327039461517415",
           "asset": "0x8a166Fb41Cd659a0a43396272FF73973Ce29F817",
           "payTo": "0xE81C67c086c83997b41673e1e41e481c14D756F6",
           "maxTimeoutSeconds": 120,
           "extra": {
            "assetTransferMethod": "permit2",
            "name": "Swole Doge",
            "version": "1"
           }
          }
         ],
         "extensions": {
          "eip2612GasSponsoring": {
           "info": {
            "description": "The server accepts an EIP-2612 permit to the canonical Permit2 contract (value = the exact payment amount) and pays the gas.",
            "version": "1"
           }
          }
         }
        }
       }
      }
     },
     "429": {
      "description": "Too many calls (60 per minute per key) or too many free quotes"
     },
     "502": {
      "description": "The tool or its provider failed — nothing is charged"
     },
     "503": {
      "description": "Unavailable right now (price or provider) — nothing is charged"
     }
    },
    "security": [
     {
      "cleApi": []
     },
     {}
    ],
    "x-payment-info": {
     "protocols": [
      {
       "x402": {}
      }
     ],
     "price": {
      "mode": "dynamic",
      "currency": "USD",
      "min": "0.005000",
      "max": "0.020000"
     }
    }
   }
  },
  "/agentic/call/token_verdict": {
   "post": {
    "operationId": "token_verdict",
    "summary": "Use this when you must decide fast whether an EVM token is worth a closer look: one verdict you can branch on (red_flags, caution, unknown or no_red_flag_found) with its reasons",
    "description": "Use this when you must decide fast whether an EVM token is worth a closer look: one verdict you can branch on (red_flags, caution, unknown or no_red_flag_found) with its reasons. Judges the same data as scan_token: the GoPlus contract checks (Powered by Go+ Security, https://gopluslabs.io), the deepest DexScreener pool and, for Robinhood Chain tokens, the traits the SWOGE AI colony measured on past tokens. Each flag carries its source, and each colony figure its number of observations. no_red_flag_found only means none of the checks fired; never a buy or sell signal, and unknown stays unknown. With an API key: $0.008 per call, billed in $SWOGE at the live price. Without a key (x402): $0.01 now in USDC on Base, $0.02 on Robinhood Chain, in USDC on Base or USDG or $SWOGE on Robinhood Chain (tool price + settlement cost, minimum $0.02; the payer pays no gas on either network); the 402 quotes the exact amount for your arguments.",
    "tags": [
     "token-security",
     "crypto",
     "robinhood-chain"
    ],
    "requestBody": {
     "required": true,
     "content": {
      "application/json": {
       "schema": {
        "type": "object",
        "properties": {
         "arguments": {
          "type": "object",
          "properties": {
           "address": {
            "type": "string",
            "description": "EVM contract address, 0x followed by 40 hex characters"
           }
          },
          "required": [
           "address"
          ]
         },
         "quote": {
          "type": "boolean",
          "description": "true: return the price of this call without running or charging it"
         }
        },
        "required": [
         "arguments"
        ]
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "The tool result: `resultat` (data), `texte` (the same, as text for a model) and the receipt — `facture`, `solde`, `recu` with an API key, `x402` without one",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "ok": {
           "type": "boolean",
           "const": true
          },
          "outil": {
           "type": "string",
           "const": "token_verdict"
          },
          "resultat": {
           "type": "object",
           "properties": {
            "token": {
             "type": "object",
             "properties": {
              "address": {
               "type": "string",
               "description": "token contract, lower case"
              },
              "symbol": {
               "type": [
                "string",
                "null"
               ],
               "description": "symbol from DexScreener"
              },
              "name": {
               "type": [
                "string",
                "null"
               ],
               "description": "name from DexScreener"
              },
              "chain": {
               "type": [
                "string",
                "null"
               ],
               "description": "DexScreener chain id"
              },
              "priceUsd": {
               "type": [
                "number",
                "null"
               ],
               "description": "price, USD"
              },
              "liquidityUsd": {
               "type": [
                "number",
                "null"
               ],
               "description": "deepest pool liquidity, USD"
              },
              "marketCapUsd": {
               "type": [
                "number",
                "null"
               ],
               "description": "market cap, USD"
              },
              "poolAgeDays": {
               "type": [
                "number",
                "null"
               ],
               "description": "pool age, days"
              },
              "url": {
               "type": [
                "string",
                "null"
               ],
               "description": "DexScreener pool"
              }
             },
             "required": [
              "address",
              "symbol",
              "name",
              "chain",
              "priceUsd",
              "liquidityUsd",
              "marketCapUsd",
              "poolAgeDays",
              "url"
             ]
            },
            "verdict": {
             "type": "string",
             "enum": [
              "red_flags",
              "caution",
              "unknown",
              "no_red_flag_found"
             ],
             "description": "red_flags if any red flag; unknown if the market or the contract could not be read; caution if any other flag; else no_red_flag_found (never \"safe\")"
            },
            "summary": {
             "type": "string",
             "description": "the verdict in one sentence"
            },
            "flags": {
             "type": "array",
             "items": {
              "type": "object",
              "properties": {
               "level": {
                "type": "string",
                "enum": [
                 "red",
                 "caution",
                 "unknown"
                ]
               },
               "code": {
                "type": "string",
                "description": "stable flag code, e.g. honeypot, hidden_owner, thin_pool, colony_negative_trait"
               },
               "text": {
                "type": "string",
                "description": "what fired, with its number and sample size when there is one"
               },
               "source": {
                "type": "string",
                "description": "GoPlus, DexScreener or SWOGE AI colony"
               }
              },
              "required": [
               "level",
               "code",
               "text",
               "source"
              ]
             },
             "description": "every check that fired"
            },
            "colony": {
             "type": [
              "object",
              "null"
             ],
             "properties": {
              "observations": {
               "type": "number",
               "description": "observations in the colony memory"
              },
              "horizonMinutes": {
               "type": "number",
               "description": "the move is measured this many minutes after"
              },
              "minObservations": {
               "type": "number",
               "description": "traits under this count are not used"
              },
              "negativeTraits": {
               "type": "array",
               "items": {
                "type": "object",
                "properties": {
                 "trait": {
                  "type": "string"
                 },
                 "case": {
                  "type": "string"
                 },
                 "observations": {
                  "type": "number"
                 },
                 "averagePct": {
                  "type": "number",
                  "description": "average move, %"
                 }
                },
                "required": []
               }
              },
              "positiveTraits": {
               "type": "array",
               "items": {
                "type": "object",
                "properties": {
                 "trait": {
                  "type": "string"
                 },
                 "case": {
                  "type": "string"
                 },
                 "observations": {
                  "type": "number"
                 },
                 "averagePct": {
                  "type": "number",
                  "description": "average move, %"
                 }
                },
                "required": []
               },
               "description": "shown apart, never an endorsement"
              },
              "scan": {
               "type": [
                "string",
                "null"
               ],
               "description": "the full scan page"
              }
             },
             "required": [
              "observations",
              "horizonMinutes",
              "minObservations",
              "negativeTraits",
              "positiveTraits"
             ],
             "description": "Robinhood Chain tokens the colony knows"
            },
            "attribution": {
             "type": [
              "object",
              "null"
             ],
             "properties": {
              "security": {
               "type": "string"
              },
              "url": {
               "type": "string"
              }
             },
             "required": [
              "security",
              "url"
             ],
             "description": "set when GoPlus answered"
            },
            "note": {
             "type": "string",
             "description": "what the verdict is not"
            },
            "links": {
             "type": "object",
             "properties": {
              "card": {
               "type": "string",
               "description": "shareable card, PNG 1200×630"
              },
              "share": {
               "type": "string",
               "description": "share page whose link preview is the card"
              },
              "page": {
               "type": "string",
               "description": "the scan on swoleeswoge.dog"
              }
             },
             "required": [
              "card",
              "share",
              "page"
             ],
             "description": "when the colony knows the token: post the share link and the preview shows the card"
            }
           },
           "required": [
            "token",
            "verdict",
            "summary",
            "flags",
            "colony",
            "attribution",
            "note"
           ]
          },
          "texte": {
           "type": "string",
           "description": "the same result as plain text, written for a language model"
          },
          "facture": {
           "type": "object",
           "properties": {
            "swoge": {
             "type": "string",
             "description": "$SWOGE billed, exact decimal string"
            },
            "usd": {
             "type": "number",
             "description": "USD billed"
            },
            "maxSwoge": {
             "type": "string",
             "description": "video: most it can bill"
            },
            "maxUsd": {
             "type": "number"
            },
            "aLArrivee": {
             "type": "boolean",
             "description": "video: billed when it arrives"
            }
           },
           "required": [
            "swoge",
            "usd"
           ],
           "description": "with an API key: what was billed"
          },
          "solde": {
           "type": "string",
           "description": "with an API key: the $SWOGE balance left"
          },
          "recu": {
           "type": "string",
           "description": "with an API key: the receipt id"
          },
          "x402": {
           "anyOf": [
            {
             "type": "object",
             "properties": {
              "transaction": {
               "type": "string",
               "description": "settlement transaction hash"
              },
              "network": {
               "type": "string",
               "description": "eip155:4663"
              },
              "amount": {
               "type": "string",
               "description": "atomic units paid"
              },
              "asset": {
               "type": "string",
               "description": "token paid (USDG or $SWOGE)"
              }
             },
             "required": [
              "transaction",
              "network",
              "amount",
              "asset"
             ],
             "description": "paid without a key: the x402 settlement (also in the PAYMENT-RESPONSE header)"
            },
            {
             "type": "object",
             "properties": {
              "x402Version": {
               "type": "integer"
              },
              "resource": {
               "type": "object"
              },
              "accepts": {
               "type": "array",
               "items": {
                "type": "object"
               }
              },
              "extensions": {
               "type": "object"
              }
             },
             "required": [
              "accepts"
             ],
             "description": "in a quote without a key: the x402 requirements of this exact call, payable as they are"
            }
           ]
          },
          "devis": {
           "type": "object",
           "description": "with \"quote\": true: the price of this call — nothing run, nothing charged"
          },
          "quote": {
           "type": "boolean",
           "const": true,
           "description": "set on a quote"
          },
          "tool": {
           "type": "string",
           "description": "on a quote: the tool"
          },
          "priceUsd": {
           "type": "number",
           "description": "on a quote: the price (the maximum for a real-cost tool)"
          },
          "howToPay": {
           "type": "string",
           "description": "on a quote: how to pay for this tool, with or without a key"
          }
         },
         "required": [
          "ok",
          "outil"
         ]
        },
        "example": {
         "ok": true,
         "outil": "token_verdict",
         "resultat": {
          "token": {
           "address": "0x254afb9fd36789bea39fb5656ba6fdb827be8dc5",
           "symbol": "LOBSTER",
           "name": "Lobster",
           "chain": "robinhood",
           "priceUsd": 0.000008424,
           "liquidityUsd": 8803.04,
           "marketCapUsd": 8253,
           "poolAgeDays": 1.4,
           "url": "https://dexscreener.com/robinhood/0x66604bdceb5a54c2c137383171085c3c2260d3d21abe1a77d9180053c9e58c53"
          },
          "verdict": "caution",
          "summary": "2 points to check: thin_pool, colony_negative_trait",
          "flags": [
           {
            "level": "caution",
            "code": "thin_pool",
            "text": "pool liquidity $8,803, under the $13,000 the SWOGE AI colony requires to buy — SWOGE AI colony paper trades by pool size at buy (16 Sep 2026): pools $6-13k, 28 trades, -7.8% average, 29% winners; $13-25k, 106 trades, +1.2%, 46% winners",
            "source": "DexScreener + SWOGE AI colony"
           },
           {
            "level": "caution",
            "code": "colony_negative_trait",
            "text": "Market cap = cap <$10k: past tokens with this trait moved -4.3% on average in 30 minutes, over 32,821 observations",
            "source": "SWOGE AI colony"
           }
          ],
          "colony": {
           "observations": 147292,
           "horizonMinutes": 30,
           "minObservations": 30,
           "negativeTraits": [
            {
             "trait": "Market cap",
             "case": "cap <$10k",
             "observations": 32821,
             "averagePct": -4.3
            }
           ],
           "positiveTraits": [
            {
             "trait": "Contract bytecode",
             "case": "bytecode: no mint, no blacklist, no pause, no fee setter",
             "observations": 2395,
             "averagePct": 16.9
            }
           ],
           "scan": "https://swoleeswoge.dog/swoge_scan.html?t=0x254afb9fd36789bea39fb5656ba6fdb827be8dc5"
          },
          "attribution": {
           "security": "Powered by Go+ Security",
           "url": "https://gopluslabs.io"
          },
          "note": "Measurements, never a buy or sell signal. no_red_flag_found means none of these checks fired, not that the token is safe; unknown stays unknown."
         },
         "texte": "Quick verdict for $LOBSTER 0x254afb9fd36789bea39fb5656ba6fdb827be8dc5 on robinhood: CAUTION — 2 points to check: thin_pool, colony_negative_trait.…",
         "x402": {
          "transaction": "0x8c1f3e2d4b5a69788796a5b4c3d2e1f00f1e2d3c4b5a69788796a5b4c3d2e1f0",
          "network": "eip155:8453",
          "amount": "10000",
          "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"
         }
        }
       }
      }
     },
     "400": {
      "description": "Invalid arguments — nothing is charged"
     },
     "401": {
      "description": "An API key was sent but is unknown or revoked"
     },
     "402": {
      "description": "Payment Required — without a key, the x402 v2 challenge for this exact request (also base64 in the PAYMENT-REQUIRED header); with an API key, the balance or the daily cap is too low",
      "headers": {
       "PAYMENT-REQUIRED": {
        "description": "base64 JSON of the x402 v2 PaymentRequired object",
        "schema": {
         "type": "string"
        }
       }
      },
      "content": {
       "application/json": {
        "schema": {
         "anyOf": [
          {
           "$ref": "#/components/schemas/PaymentRequired"
          },
          {
           "$ref": "#/components/schemas/KeyRefusal"
          }
         ]
        },
        "example": {
         "ok": false,
         "x402Version": 2,
         "error": "PAYMENT-SIGNATURE header is required",
         "resource": {
          "url": "https://web-production-220a3.up.railway.app/agentic/call/token_verdict",
          "description": "SwogeAgentic tool token_verdict. Price: $0.01 in USDC on Base, or $0.02 in USDG or $SWOGE on Robinhood Chain (tool price + settlement cost, minimum $0.02).",
          "mimeType": "application/json"
         },
         "accepts": [
          {
           "scheme": "exact",
           "network": "eip155:8453",
           "amount": "10000",
           "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
           "payTo": "0xE81C67c086c83997b41673e1e41e481c14D756F6",
           "maxTimeoutSeconds": 120,
           "extra": {
            "name": "USD Coin",
            "version": "2"
           }
          },
          {
           "scheme": "exact",
           "network": "eip155:4663",
           "amount": "20000",
           "asset": "0x5fc5360D0400a0Fd4f2af552ADD042D716F1d168",
           "payTo": "0xE81C67c086c83997b41673e1e41e481c14D756F6",
           "maxTimeoutSeconds": 120,
           "extra": {
            "assetTransferMethod": "eip3009",
            "name": "Global Dollar",
            "version": "1"
           }
          },
          {
           "scheme": "exact",
           "network": "eip155:4663",
           "amount": "5494945327039461517415",
           "asset": "0x8a166Fb41Cd659a0a43396272FF73973Ce29F817",
           "payTo": "0xE81C67c086c83997b41673e1e41e481c14D756F6",
           "maxTimeoutSeconds": 120,
           "extra": {
            "assetTransferMethod": "permit2",
            "name": "Swole Doge",
            "version": "1"
           }
          }
         ],
         "extensions": {
          "eip2612GasSponsoring": {
           "info": {
            "description": "The server accepts an EIP-2612 permit to the canonical Permit2 contract (value = the exact payment amount) and pays the gas.",
            "version": "1"
           }
          }
         }
        }
       }
      }
     },
     "429": {
      "description": "Too many calls (60 per minute per key) or too many free quotes"
     },
     "502": {
      "description": "The tool or its provider failed — nothing is charged"
     },
     "503": {
      "description": "Unavailable right now (price or provider) — nothing is charged"
     }
    },
    "security": [
     {
      "cleApi": []
     },
     {}
    ],
    "x-payment-info": {
     "protocols": [
      {
       "x402": {}
      }
     ],
     "price": {
      "mode": "dynamic",
      "currency": "USD",
      "min": "0.010000",
      "max": "0.020000"
     }
    }
   }
  },
  "/agentic/call/stock_token_check": {
   "post": {
    "operationId": "stock_token_check",
    "summary": "Use this before touching a stock token on Robinhood Chain (NVDA, TSLA, SPY…): it tells whether a contract is the official Robinhood Stock Token or a copy using the same ticker",
    "description": "Use this before touching a stock token on Robinhood Chain (NVDA, TSLA, SPY…): it tells whether a contract is the official Robinhood Stock Token or a copy using the same ticker. Returns the verdict (official, impostor with the official address, or not a stock token), the official ISIN, status, multiplier and any pending corporate action, the deepest pool price and liquidity, and the premium of that pool to the Chainlink feed of the token (the feed address and its last update; its value is not republished). With an API key: $0.005 per call, billed in $SWOGE at the live price. Without a key (x402): $0.006 now in USDC on Base, $0.02 on Robinhood Chain, in USDC on Base or USDG or $SWOGE on Robinhood Chain (tool price + settlement cost, minimum $0.02; the payer pays no gas on either network); the 402 quotes the exact amount for your arguments.",
    "tags": [
     "robinhood-chain",
     "token-security",
     "crypto"
    ],
    "requestBody": {
     "required": true,
     "content": {
      "application/json": {
       "schema": {
        "type": "object",
        "properties": {
         "arguments": {
          "type": "object",
          "properties": {
           "address": {
            "type": "string",
            "description": "a token contract on Robinhood Chain, 0x followed by 40 hex characters"
           },
           "symbol": {
            "type": "string",
            "description": "or a ticker (NVDA, TSLA, SPY…) to get the official contract"
           }
          }
         },
         "quote": {
          "type": "boolean",
          "description": "true: return the price of this call without running or charging it"
         }
        },
        "required": [
         "arguments"
        ]
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "The tool result: `resultat` (data), `texte` (the same, as text for a model) and the receipt — `facture`, `solde`, `recu` with an API key, `x402` without one",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "ok": {
           "type": "boolean",
           "const": true
          },
          "outil": {
           "type": "string",
           "const": "stock_token_check"
          },
          "resultat": {
           "type": "object",
           "properties": {
            "verdict": {
             "type": "string",
             "enum": [
              "official",
              "impostor",
              "not_a_stock_token"
             ]
            },
            "checked": {
             "type": [
              "string",
              "null"
             ],
             "description": "the address checked, when one was given"
            },
            "onchain": {
             "type": [
              "object",
              "null"
             ],
             "properties": {
              "symbol": {
               "type": [
                "string",
                "null"
               ]
              },
              "name": {
               "type": [
                "string",
                "null"
               ]
              }
             },
             "required": [
              "symbol",
              "name"
             ],
             "description": "what the checked contract says about itself"
            },
            "official": {
             "type": [
              "object",
              "null"
             ],
             "properties": {
              "address": {
               "type": "string"
              },
              "symbol": {
               "type": "string"
              },
              "name": {
               "type": "string"
              },
              "isin": {
               "type": [
                "string",
                "null"
               ]
              },
              "status": {
               "type": [
                "string",
                "null"
               ]
              },
              "multiplier": {
               "type": [
                "string",
                "null"
               ],
               "description": "shares per token (corporate actions)"
              },
              "pendingMultiplier": {
               "type": [
                "string",
                "null"
               ],
               "description": "the next multiplier, when announced"
              },
              "corporateActionPending": {
               "type": "boolean"
              },
              "sessions": {
               "type": "array",
               "items": {
                "type": "string"
               },
               "description": "sessions where the stock trades: market, extended, overnight"
              }
             },
             "required": [
              "address",
              "symbol",
              "name",
              "isin",
              "status",
              "multiplier",
              "pendingMultiplier",
              "corporateActionPending",
              "sessions"
             ],
             "description": "the official Robinhood Stock Token (api.robinhood.com/rhj/assets)"
            },
            "warning": {
             "type": "string",
             "description": "impostor only"
            },
            "market": {
             "type": "object",
             "properties": {
              "pool": {
               "type": [
                "object",
                "null"
               ],
               "properties": {
                "priceUsd": {
                 "type": "number"
                },
                "liquidityUsd": {
                 "type": "number"
                },
                "address": {
                 "type": [
                  "string",
                  "null"
                 ]
                },
                "quotedIn": {
                 "type": "string"
                },
                "dex": {
                 "type": "string"
                }
               },
               "required": [
                "priceUsd",
                "liquidityUsd",
                "address",
                "quotedIn",
                "dex"
               ],
               "description": "deepest pool, the token as base"
              },
              "oracle": {
               "type": [
                "object",
                "null"
               ],
               "properties": {
                "feed": {
                 "type": "string",
                 "description": "Chainlink feed address on Robinhood Chain: read its value there"
                },
                "updatedAt": {
                 "type": "string",
                 "description": "ISO date of its last update"
                },
                "stale": {
                 "type": "boolean",
                 "description": "older than its heartbeat"
                }
               },
               "required": [
                "feed",
                "updatedAt",
                "stale"
               ],
               "description": "the Chainlink feed of the token; its value is not republished"
              },
              "premiumToOraclePct": {
               "type": [
                "number",
                "null"
               ],
               "description": "pool price vs feed, in %"
              }
             },
             "required": [
              "pool",
              "oracle",
              "premiumToOraclePct"
             ]
            },
            "impostorPool": {
             "type": [
              "object",
              "null"
             ],
             "properties": {
              "priceUsd": {
               "type": "number"
              },
              "liquidityUsd": {
               "type": "number"
              },
              "address": {
               "type": [
                "string",
                "null"
               ]
              }
             },
             "required": [
              "priceUsd",
              "liquidityUsd",
              "address"
             ],
             "description": "impostor only: its own pool"
            },
            "note": {
             "type": "string"
            }
           },
           "required": [
            "verdict",
            "checked",
            "onchain",
            "official",
            "note"
           ]
          },
          "texte": {
           "type": "string",
           "description": "the same result as plain text, written for a language model"
          },
          "facture": {
           "type": "object",
           "properties": {
            "swoge": {
             "type": "string",
             "description": "$SWOGE billed, exact decimal string"
            },
            "usd": {
             "type": "number",
             "description": "USD billed"
            },
            "maxSwoge": {
             "type": "string",
             "description": "video: most it can bill"
            },
            "maxUsd": {
             "type": "number"
            },
            "aLArrivee": {
             "type": "boolean",
             "description": "video: billed when it arrives"
            }
           },
           "required": [
            "swoge",
            "usd"
           ],
           "description": "with an API key: what was billed"
          },
          "solde": {
           "type": "string",
           "description": "with an API key: the $SWOGE balance left"
          },
          "recu": {
           "type": "string",
           "description": "with an API key: the receipt id"
          },
          "x402": {
           "anyOf": [
            {
             "type": "object",
             "properties": {
              "transaction": {
               "type": "string",
               "description": "settlement transaction hash"
              },
              "network": {
               "type": "string",
               "description": "eip155:4663"
              },
              "amount": {
               "type": "string",
               "description": "atomic units paid"
              },
              "asset": {
               "type": "string",
               "description": "token paid (USDG or $SWOGE)"
              }
             },
             "required": [
              "transaction",
              "network",
              "amount",
              "asset"
             ],
             "description": "paid without a key: the x402 settlement (also in the PAYMENT-RESPONSE header)"
            },
            {
             "type": "object",
             "properties": {
              "x402Version": {
               "type": "integer"
              },
              "resource": {
               "type": "object"
              },
              "accepts": {
               "type": "array",
               "items": {
                "type": "object"
               }
              },
              "extensions": {
               "type": "object"
              }
             },
             "required": [
              "accepts"
             ],
             "description": "in a quote without a key: the x402 requirements of this exact call, payable as they are"
            }
           ]
          },
          "devis": {
           "type": "object",
           "description": "with \"quote\": true: the price of this call — nothing run, nothing charged"
          },
          "quote": {
           "type": "boolean",
           "const": true,
           "description": "set on a quote"
          },
          "tool": {
           "type": "string",
           "description": "on a quote: the tool"
          },
          "priceUsd": {
           "type": "number",
           "description": "on a quote: the price (the maximum for a real-cost tool)"
          },
          "howToPay": {
           "type": "string",
           "description": "on a quote: how to pay for this tool, with or without a key"
          }
         },
         "required": [
          "ok",
          "outil"
         ]
        },
        "example": {
         "ok": true,
         "outil": "stock_token_check",
         "resultat": {
          "verdict": "impostor",
          "checked": "0xdecf74e4aa6ff30b1612e65665aaf650bedecba3",
          "onchain": {
           "symbol": "NVDA",
           "name": "NVDA"
          },
          "official": {
           "address": "0xd0601ce157db5bdc3162bbac2a2c8af5320d9eec",
           "symbol": "NVDA",
           "name": "NVIDIA • Robinhood Token",
           "isin": "US67066G1040",
           "status": "ASSET_STATUS_ACTIVE",
           "multiplier": "1.000775159164630595",
           "pendingMultiplier": null,
           "corporateActionPending": false,
           "sessions": [
            "market",
            "extended",
            "overnight"
           ]
          },
          "warning": "This contract copies the ticker or name of NVDA but is NOT the Robinhood Stock Token. The official contract is 0xd0601ce157db5bdc3162bbac2a2c8af5320d9eec.",
          "market": {
           "pool": {
            "priceUsd": 230.42,
            "liquidityUsd": 5169589,
            "address": "0xd4EB21209C4D6093f80B5b84f5C45cc093EA14a3",
            "quotedIn": "USDG",
            "dex": "uniswap"
           },
           "oracle": {
            "feed": "0x379EC4f7C378F34a1B47E4F3cbeBCbAC3E8E9F15",
            "updatedAt": "2026-09-28T17:07:42.000Z",
            "stale": false
           },
           "premiumToOraclePct": -0.11
          },
          "impostorPool": {
           "priceUsd": 3.24e-7,
           "liquidityUsd": 30386,
           "address": "0xd9ea532d4b342ae5eef42517474a9ceda952d43febbd39c265f3cdd14de75b9d"
          },
          "note": "Official list: Robinhood (api.robinhood.com/rhj/assets)…"
         },
         "texte": "IMPOSTOR: This contract copies the ticker or name of NVDA but is NOT the Robinhood Stock Token.…",
         "x402": {
          "transaction": "0x8c1f3e2d4b5a69788796a5b4c3d2e1f00f1e2d3c4b5a69788796a5b4c3d2e1f0",
          "network": "eip155:8453",
          "amount": "6000",
          "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"
         }
        }
       }
      }
     },
     "400": {
      "description": "Invalid arguments — nothing is charged"
     },
     "401": {
      "description": "An API key was sent but is unknown or revoked"
     },
     "402": {
      "description": "Payment Required — without a key, the x402 v2 challenge for this exact request (also base64 in the PAYMENT-REQUIRED header); with an API key, the balance or the daily cap is too low",
      "headers": {
       "PAYMENT-REQUIRED": {
        "description": "base64 JSON of the x402 v2 PaymentRequired object",
        "schema": {
         "type": "string"
        }
       }
      },
      "content": {
       "application/json": {
        "schema": {
         "anyOf": [
          {
           "$ref": "#/components/schemas/PaymentRequired"
          },
          {
           "$ref": "#/components/schemas/KeyRefusal"
          }
         ]
        },
        "example": {
         "ok": false,
         "x402Version": 2,
         "error": "PAYMENT-SIGNATURE header is required",
         "resource": {
          "url": "https://web-production-220a3.up.railway.app/agentic/call/stock_token_check",
          "description": "SwogeAgentic tool stock_token_check. Price: $0.006 in USDC on Base, or $0.02 in USDG or $SWOGE on Robinhood Chain (tool price + settlement cost, minimum $0.02).",
          "mimeType": "application/json"
         },
         "accepts": [
          {
           "scheme": "exact",
           "network": "eip155:8453",
           "amount": "6000",
           "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
           "payTo": "0xE81C67c086c83997b41673e1e41e481c14D756F6",
           "maxTimeoutSeconds": 120,
           "extra": {
            "name": "USD Coin",
            "version": "2"
           }
          },
          {
           "scheme": "exact",
           "network": "eip155:4663",
           "amount": "20000",
           "asset": "0x5fc5360D0400a0Fd4f2af552ADD042D716F1d168",
           "payTo": "0xE81C67c086c83997b41673e1e41e481c14D756F6",
           "maxTimeoutSeconds": 120,
           "extra": {
            "assetTransferMethod": "eip3009",
            "name": "Global Dollar",
            "version": "1"
           }
          },
          {
           "scheme": "exact",
           "network": "eip155:4663",
           "amount": "5494945327039461517415",
           "asset": "0x8a166Fb41Cd659a0a43396272FF73973Ce29F817",
           "payTo": "0xE81C67c086c83997b41673e1e41e481c14D756F6",
           "maxTimeoutSeconds": 120,
           "extra": {
            "assetTransferMethod": "permit2",
            "name": "Swole Doge",
            "version": "1"
           }
          }
         ],
         "extensions": {
          "eip2612GasSponsoring": {
           "info": {
            "description": "The server accepts an EIP-2612 permit to the canonical Permit2 contract (value = the exact payment amount) and pays the gas.",
            "version": "1"
           }
          }
         }
        }
       }
      }
     },
     "429": {
      "description": "Too many calls (60 per minute per key) or too many free quotes"
     },
     "502": {
      "description": "The tool or its provider failed — nothing is charged"
     },
     "503": {
      "description": "Unavailable right now (price or provider) — nothing is charged"
     }
    },
    "security": [
     {
      "cleApi": []
     },
     {}
    ],
    "x-payment-info": {
     "protocols": [
      {
       "x402": {}
      }
     ],
     "price": {
      "mode": "dynamic",
      "currency": "USD",
      "min": "0.006000",
      "max": "0.020000"
     }
    }
   }
  },
  "/agentic/call/stock_tokens_premium": {
   "post": {
    "operationId": "stock_tokens_premium",
    "summary": "Use this when you want the Robinhood Chain stock tokens whose on-chain pools trade furthest from their Chainlink feed",
    "description": "Use this when you want the Robinhood Chain stock tokens whose on-chain pools trade furthest from their Chainlink feed. Returns the official tokens with both a feed and a pool above a minimum liquidity, sorted by absolute premium, with pool price, liquidity, quote currency and feed freshness. A premium is a measurement, never a trade signal. With an API key: $0.005 per call, billed in $SWOGE at the live price. Without a key (x402): $0.006 now in USDC on Base, $0.02 on Robinhood Chain, in USDC on Base or USDG or $SWOGE on Robinhood Chain (tool price + settlement cost, minimum $0.02; the payer pays no gas on either network); the 402 quotes the exact amount for your arguments.",
    "tags": [
     "robinhood-chain",
     "crypto"
    ],
    "requestBody": {
     "required": true,
     "content": {
      "application/json": {
       "schema": {
        "type": "object",
        "properties": {
         "arguments": {
          "type": "object",
          "properties": {
           "limit": {
            "type": "integer",
            "minimum": 1,
            "maximum": 50,
            "description": "how many tokens (default 15)"
           },
           "min_liquidity_usd": {
            "type": "number",
            "minimum": 0,
            "description": "minimum pool liquidity (default 10,000 $)"
           }
          }
         },
         "quote": {
          "type": "boolean",
          "description": "true: return the price of this call without running or charging it"
         }
        },
        "required": [
         "arguments"
        ]
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "The tool result: `resultat` (data), `texte` (the same, as text for a model) and the receipt — `facture`, `solde`, `recu` with an API key, `x402` without one",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "ok": {
           "type": "boolean",
           "const": true
          },
          "outil": {
           "type": "string",
           "const": "stock_tokens_premium"
          },
          "resultat": {
           "type": "object",
           "properties": {
            "tokens": {
             "type": "array",
             "items": {
              "type": "object",
              "properties": {
               "address": {
                "type": "string"
               },
               "symbol": {
                "type": "string"
               },
               "name": {
                "type": "string"
               },
               "premiumToOraclePct": {
                "type": "number"
               },
               "poolPriceUsd": {
                "type": "number"
               },
               "liquidityUsd": {
                "type": "number"
               },
               "quotedIn": {
                "type": "string"
               },
               "oracle": {
                "type": [
                 "object",
                 "null"
                ],
                "properties": {
                 "feed": {
                  "type": "string",
                  "description": "Chainlink feed address on Robinhood Chain: read its value there"
                 },
                 "updatedAt": {
                  "type": "string",
                  "description": "ISO date of its last update"
                 },
                 "stale": {
                  "type": "boolean",
                  "description": "older than its heartbeat"
                 }
                },
                "required": [
                 "feed",
                 "updatedAt",
                 "stale"
                ],
                "description": "the Chainlink feed of the token; its value is not republished"
               },
               "corporateActionPending": {
                "type": "boolean"
               }
              },
              "required": [
               "address",
               "symbol",
               "name",
               "premiumToOraclePct",
               "poolPriceUsd",
               "liquidityUsd",
               "quotedIn",
               "oracle",
               "corporateActionPending"
              ]
             },
             "description": "sorted by absolute premium"
            },
            "compared": {
             "type": "number"
            },
            "officialTokens": {
             "type": "number"
            },
            "withOracle": {
             "type": "number"
            },
            "minLiquidityUsd": {
             "type": "number"
            },
            "measuredAt": {
             "type": "string"
            },
            "note": {
             "type": "string"
            }
           },
           "required": [
            "tokens",
            "compared",
            "officialTokens",
            "withOracle",
            "minLiquidityUsd",
            "measuredAt",
            "note"
           ]
          },
          "texte": {
           "type": "string",
           "description": "the same result as plain text, written for a language model"
          },
          "facture": {
           "type": "object",
           "properties": {
            "swoge": {
             "type": "string",
             "description": "$SWOGE billed, exact decimal string"
            },
            "usd": {
             "type": "number",
             "description": "USD billed"
            },
            "maxSwoge": {
             "type": "string",
             "description": "video: most it can bill"
            },
            "maxUsd": {
             "type": "number"
            },
            "aLArrivee": {
             "type": "boolean",
             "description": "video: billed when it arrives"
            }
           },
           "required": [
            "swoge",
            "usd"
           ],
           "description": "with an API key: what was billed"
          },
          "solde": {
           "type": "string",
           "description": "with an API key: the $SWOGE balance left"
          },
          "recu": {
           "type": "string",
           "description": "with an API key: the receipt id"
          },
          "x402": {
           "anyOf": [
            {
             "type": "object",
             "properties": {
              "transaction": {
               "type": "string",
               "description": "settlement transaction hash"
              },
              "network": {
               "type": "string",
               "description": "eip155:4663"
              },
              "amount": {
               "type": "string",
               "description": "atomic units paid"
              },
              "asset": {
               "type": "string",
               "description": "token paid (USDG or $SWOGE)"
              }
             },
             "required": [
              "transaction",
              "network",
              "amount",
              "asset"
             ],
             "description": "paid without a key: the x402 settlement (also in the PAYMENT-RESPONSE header)"
            },
            {
             "type": "object",
             "properties": {
              "x402Version": {
               "type": "integer"
              },
              "resource": {
               "type": "object"
              },
              "accepts": {
               "type": "array",
               "items": {
                "type": "object"
               }
              },
              "extensions": {
               "type": "object"
              }
             },
             "required": [
              "accepts"
             ],
             "description": "in a quote without a key: the x402 requirements of this exact call, payable as they are"
            }
           ]
          },
          "devis": {
           "type": "object",
           "description": "with \"quote\": true: the price of this call — nothing run, nothing charged"
          },
          "quote": {
           "type": "boolean",
           "const": true,
           "description": "set on a quote"
          },
          "tool": {
           "type": "string",
           "description": "on a quote: the tool"
          },
          "priceUsd": {
           "type": "number",
           "description": "on a quote: the price (the maximum for a real-cost tool)"
          },
          "howToPay": {
           "type": "string",
           "description": "on a quote: how to pay for this tool, with or without a key"
          }
         },
         "required": [
          "ok",
          "outil"
         ]
        },
        "example": {
         "ok": true,
         "outil": "stock_tokens_premium",
         "resultat": {
          "tokens": [
           {
            "address": "0xd0601ce157db5bdc3162bbac2a2c8af5320d9eec",
            "symbol": "NVDA",
            "name": "NVIDIA • Robinhood Token",
            "premiumToOraclePct": -0.11,
            "poolPriceUsd": 230.42,
            "liquidityUsd": 5169589,
            "quotedIn": "USDG",
            "oracle": {
             "feed": "0x379EC4f7C378F34a1B47E4F3cbeBCbAC3E8E9F15",
             "updatedAt": "2026-09-28T17:07:42.000Z",
             "stale": false
            },
            "corporateActionPending": false
           }
          ],
          "compared": 28,
          "officialTokens": 195,
          "withOracle": 32,
          "minLiquidityUsd": 10000,
          "measuredAt": "2026-09-28T18:20:00.000Z",
          "note": "Official list: Robinhood (api.robinhood.com/rhj/assets)…"
         },
         "texte": "28 official stock tokens compared (195 official, 32 with a feed). RKLB -0.83%, ASML -0.69%…",
         "x402": {
          "transaction": "0x8c1f3e2d4b5a69788796a5b4c3d2e1f00f1e2d3c4b5a69788796a5b4c3d2e1f0",
          "network": "eip155:8453",
          "amount": "6000",
          "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"
         }
        }
       }
      }
     },
     "400": {
      "description": "Invalid arguments — nothing is charged"
     },
     "401": {
      "description": "An API key was sent but is unknown or revoked"
     },
     "402": {
      "description": "Payment Required — without a key, the x402 v2 challenge for this exact request (also base64 in the PAYMENT-REQUIRED header); with an API key, the balance or the daily cap is too low",
      "headers": {
       "PAYMENT-REQUIRED": {
        "description": "base64 JSON of the x402 v2 PaymentRequired object",
        "schema": {
         "type": "string"
        }
       }
      },
      "content": {
       "application/json": {
        "schema": {
         "anyOf": [
          {
           "$ref": "#/components/schemas/PaymentRequired"
          },
          {
           "$ref": "#/components/schemas/KeyRefusal"
          }
         ]
        },
        "example": {
         "ok": false,
         "x402Version": 2,
         "error": "PAYMENT-SIGNATURE header is required",
         "resource": {
          "url": "https://web-production-220a3.up.railway.app/agentic/call/stock_tokens_premium",
          "description": "SwogeAgentic tool stock_tokens_premium. Price: $0.006 in USDC on Base, or $0.02 in USDG or $SWOGE on Robinhood Chain (tool price + settlement cost, minimum $0.02).",
          "mimeType": "application/json"
         },
         "accepts": [
          {
           "scheme": "exact",
           "network": "eip155:8453",
           "amount": "6000",
           "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
           "payTo": "0xE81C67c086c83997b41673e1e41e481c14D756F6",
           "maxTimeoutSeconds": 120,
           "extra": {
            "name": "USD Coin",
            "version": "2"
           }
          },
          {
           "scheme": "exact",
           "network": "eip155:4663",
           "amount": "20000",
           "asset": "0x5fc5360D0400a0Fd4f2af552ADD042D716F1d168",
           "payTo": "0xE81C67c086c83997b41673e1e41e481c14D756F6",
           "maxTimeoutSeconds": 120,
           "extra": {
            "assetTransferMethod": "eip3009",
            "name": "Global Dollar",
            "version": "1"
           }
          },
          {
           "scheme": "exact",
           "network": "eip155:4663",
           "amount": "5494945327039461517415",
           "asset": "0x8a166Fb41Cd659a0a43396272FF73973Ce29F817",
           "payTo": "0xE81C67c086c83997b41673e1e41e481c14D756F6",
           "maxTimeoutSeconds": 120,
           "extra": {
            "assetTransferMethod": "permit2",
            "name": "Swole Doge",
            "version": "1"
           }
          }
         ],
         "extensions": {
          "eip2612GasSponsoring": {
           "info": {
            "description": "The server accepts an EIP-2612 permit to the canonical Permit2 contract (value = the exact payment amount) and pays the gas.",
            "version": "1"
           }
          }
         }
        }
       }
      }
     },
     "429": {
      "description": "Too many calls (60 per minute per key) or too many free quotes"
     },
     "502": {
      "description": "The tool or its provider failed — nothing is charged"
     },
     "503": {
      "description": "Unavailable right now (price or provider) — nothing is charged"
     }
    },
    "security": [
     {
      "cleApi": []
     },
     {}
    ],
    "x-payment-info": {
     "protocols": [
      {
       "x402": {}
      }
     ],
     "price": {
      "mode": "dynamic",
      "currency": "USD",
      "min": "0.006000",
      "max": "0.020000"
     }
    }
   }
  },
  "/agentic/call/base_launches": {
   "post": {
    "operationId": "base_launches",
    "summary": "Use this when you want the newest memecoin launches on Base (Clanker v4 and Zora coins), read on-chain: each with its deployer and the deployer's MEASURED record",
    "description": "Use this when you want the newest memecoin launches on Base (Clanker v4 and Zora coins), read on-chain: each with its deployer and the deployer's MEASURED record. For each launch: platform, deployer, age, swaps since the launch block (first hour and 24 hours, from the Uniswap v4 PoolManager) and price change; for its deployer: how many of their earlier tokens were traded within 24 hours, against the reference of all launches (most get no swap at all). Below 5 judged tokens the record says so instead of comparing. Measurements, never a buy or sell signal. With an API key: $0.005 per call, billed in $SWOGE at the live price. Without a key (x402): $0.006 now in USDC on Base, $0.02 on Robinhood Chain, in USDC on Base or USDG or $SWOGE on Robinhood Chain (tool price + settlement cost, minimum $0.02; the payer pays no gas on either network); the 402 quotes the exact amount for your arguments.",
    "tags": [
     "base",
     "crypto",
     "token-security"
    ],
    "requestBody": {
     "required": true,
     "content": {
      "application/json": {
       "schema": {
        "type": "object",
        "properties": {
         "arguments": {
          "type": "object",
          "properties": {
           "platform": {
            "type": "string",
            "enum": [
             "all",
             "clanker",
             "zora"
            ],
            "description": "default all"
           },
           "limit": {
            "type": "integer",
            "minimum": 1,
            "maximum": 25,
            "description": "how many launches, newest first (default 10)"
           },
           "traded_only": {
            "type": "boolean",
            "description": "only launches swapped at least once after their launch block"
           }
          }
         },
         "quote": {
          "type": "boolean",
          "description": "true: return the price of this call without running or charging it"
         }
        },
        "required": [
         "arguments"
        ]
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "The tool result: `resultat` (data), `texte` (the same, as text for a model) and the receipt — `facture`, `solde`, `recu` with an API key, `x402` without one",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "ok": {
           "type": "boolean",
           "const": true
          },
          "outil": {
           "type": "string",
           "const": "base_launches"
          },
          "resultat": {
           "type": "object",
           "properties": {
            "launches": {
             "type": "array",
             "items": {
              "type": "object",
              "properties": {
               "token": {
                "type": "string"
               },
               "symbol": {
                "type": "string",
                "description": "set by the deployer: untrusted text"
               },
               "name": {
                "type": "string",
                "description": "set by the deployer: untrusted text"
               },
               "platform": {
                "type": "string",
                "enum": [
                 "clanker",
                 "zora",
                 "zora-creator"
                ]
               },
               "deployer": {
                "type": "string",
                "description": "Clanker tokenAdmin or Zora caller"
               },
               "sender": {
                "type": [
                 "string",
                 "null"
                ],
                "description": "Clanker msgSender or Zora payoutRecipient, when different"
               },
               "pairedWith": {
                "type": "string",
                "description": "the other currency of the pool"
               },
               "pool": {
                "type": "string",
                "description": "Uniswap v4 pool id"
               },
               "block": {
                "type": "number"
               },
               "tx": {
                "type": "string"
               },
               "launchedAt": {
                "type": "string",
                "description": "ISO date"
               },
               "ageMinutes": {
                "type": "number"
               },
               "swapsFirstHour": {
                "type": "number",
                "description": "swaps after the launch block, first hour"
               },
               "swaps24h": {
                "type": "number",
                "description": "swaps after the launch block, first 24 hours"
               },
               "judged": {
                "type": "boolean",
                "description": "24 hours old or more"
               },
               "priceChangePct": {
                "type": [
                 "number",
                 "null"
                ],
                "description": "first swap to last swap; null under 2 swaps"
               },
               "deployerRecord": {
                "type": "object",
                "properties": {
                 "tokens": {
                  "type": "number",
                  "description": "launches in the window"
                 },
                 "judged": {
                  "type": "number",
                  "description": "launches 24 hours old or more"
                 },
                 "tradedWithin24hPct": {
                  "type": [
                   "number",
                   "null"
                  ],
                  "description": "share of judged launches swapped at least once after their launch block, within 24 hours"
                 },
                 "ci95": {
                  "type": [
                   "array",
                   "null"
                  ],
                  "items": {
                   "type": "number"
                  },
                  "description": "95% Wilson interval of that share"
                 },
                 "medianSwaps24h": {
                  "type": [
                   "number",
                   "null"
                  ]
                 },
                 "medianPriceChangePct": {
                  "type": [
                   "number",
                   "null"
                  ],
                  "description": "first swap to last swap within 24 hours"
                 },
                 "enough": {
                  "type": "boolean",
                  "description": "at least 5 judged launches: comparable to the reference"
                 },
                 "note": {
                  "type": [
                   "string",
                   "null"
                  ],
                  "description": "why it is not compared"
                 }
                },
                "required": [
                 "tokens",
                 "judged",
                 "tradedWithin24hPct",
                 "ci95",
                 "medianSwaps24h",
                 "medianPriceChangePct",
                 "enough",
                 "note"
                ]
               }
              },
              "required": [
               "token",
               "symbol",
               "name",
               "platform",
               "deployer",
               "pool",
               "block",
               "launchedAt",
               "ageMinutes",
               "swapsFirstHour",
               "swaps24h",
               "judged",
               "priceChangePct",
               "deployerRecord"
              ]
             },
             "description": "newest first"
            },
            "reference": {
             "type": "object",
             "properties": {
              "tokens": {
               "type": "number",
               "description": "launches in the window"
              },
              "judged": {
               "type": "number",
               "description": "launches 24 hours old or more"
              },
              "tradedWithin24hPct": {
               "type": [
                "number",
                "null"
               ],
               "description": "share of judged launches swapped at least once after their launch block, within 24 hours"
              },
              "ci95": {
               "type": [
                "array",
                "null"
               ],
               "items": {
                "type": "number"
               },
               "description": "95% Wilson interval of that share"
              },
              "medianSwaps24h": {
               "type": [
                "number",
                "null"
               ]
              },
              "medianPriceChangePct": {
               "type": [
                "number",
                "null"
               ],
               "description": "first swap to last swap within 24 hours"
              }
             },
             "required": [
              "tokens",
              "judged",
              "tradedWithin24hPct",
              "ci95",
              "medianSwaps24h",
              "medianPriceChangePct"
             ]
            },
            "window": {
             "type": "object",
             "properties": {
              "indexedSince": {
               "type": [
                "string",
                "null"
               ],
               "description": "ISO date: nothing before is known"
              },
              "lastBlock": {
               "type": [
                "number",
                "null"
               ]
              },
              "launchesInWindow": {
               "type": "number"
              },
              "note": {
               "type": "string"
              }
             },
             "required": [
              "indexedSince",
              "lastBlock",
              "launchesInWindow",
              "note"
             ]
            }
           },
           "required": [
            "launches",
            "reference",
            "window"
           ]
          },
          "texte": {
           "type": "string",
           "description": "the same result as plain text, written for a language model"
          },
          "facture": {
           "type": "object",
           "properties": {
            "swoge": {
             "type": "string",
             "description": "$SWOGE billed, exact decimal string"
            },
            "usd": {
             "type": "number",
             "description": "USD billed"
            },
            "maxSwoge": {
             "type": "string",
             "description": "video: most it can bill"
            },
            "maxUsd": {
             "type": "number"
            },
            "aLArrivee": {
             "type": "boolean",
             "description": "video: billed when it arrives"
            }
           },
           "required": [
            "swoge",
            "usd"
           ],
           "description": "with an API key: what was billed"
          },
          "solde": {
           "type": "string",
           "description": "with an API key: the $SWOGE balance left"
          },
          "recu": {
           "type": "string",
           "description": "with an API key: the receipt id"
          },
          "x402": {
           "anyOf": [
            {
             "type": "object",
             "properties": {
              "transaction": {
               "type": "string",
               "description": "settlement transaction hash"
              },
              "network": {
               "type": "string",
               "description": "eip155:4663"
              },
              "amount": {
               "type": "string",
               "description": "atomic units paid"
              },
              "asset": {
               "type": "string",
               "description": "token paid (USDG or $SWOGE)"
              }
             },
             "required": [
              "transaction",
              "network",
              "amount",
              "asset"
             ],
             "description": "paid without a key: the x402 settlement (also in the PAYMENT-RESPONSE header)"
            },
            {
             "type": "object",
             "properties": {
              "x402Version": {
               "type": "integer"
              },
              "resource": {
               "type": "object"
              },
              "accepts": {
               "type": "array",
               "items": {
                "type": "object"
               }
              },
              "extensions": {
               "type": "object"
              }
             },
             "required": [
              "accepts"
             ],
             "description": "in a quote without a key: the x402 requirements of this exact call, payable as they are"
            }
           ]
          },
          "devis": {
           "type": "object",
           "description": "with \"quote\": true: the price of this call — nothing run, nothing charged"
          },
          "quote": {
           "type": "boolean",
           "const": true,
           "description": "set on a quote"
          },
          "tool": {
           "type": "string",
           "description": "on a quote: the tool"
          },
          "priceUsd": {
           "type": "number",
           "description": "on a quote: the price (the maximum for a real-cost tool)"
          },
          "howToPay": {
           "type": "string",
           "description": "on a quote: how to pay for this tool, with or without a key"
          }
         },
         "required": [
          "ok",
          "outil"
         ]
        },
        "example": {
         "ok": true,
         "outil": "base_launches",
         "resultat": {
          "launches": [
           {
            "token": "0x02e7f36b3f679df4e597d854b76335cd2269f96c",
            "symbol": "XDP",
            "name": "XDP",
            "platform": "zora",
            "deployer": "0xe3e4c41a7eed7be0b485de9a6025c2983ac01daf",
            "sender": null,
            "pairedWith": "0xafcaa25e08f68cb54fa196f72a67ee2c00722239",
            "pool": "0x4c981db46ee49df4bcd77074b9388150d1d6b2dca6c4fabf1eaf976e1c185c41",
            "block": 51914071,
            "tx": "0x06d79454ad77e5decf02eb6941643b89620b523c6bf494044f8c45108c8b30ab",
            "launchedAt": "2026-09-28T17:44:49.000Z",
            "ageMinutes": 19,
            "swapsFirstHour": 2,
            "swaps24h": 2,
            "judged": false,
            "priceChangePct": 3.2,
            "deployerRecord": {
             "tokens": 2,
             "judged": 0,
             "tradedWithin24hPct": null,
             "ci95": null,
             "medianSwaps24h": null,
             "medianPriceChangePct": null,
             "enough": false,
             "note": "not enough judged tokens to compare (0/5)"
            }
           }
          ],
          "reference": {
           "tokens": 71,
           "judged": 0,
           "tradedWithin24hPct": null,
           "ci95": null,
           "medianSwaps24h": null,
           "medianPriceChangePct": null
          },
          "window": {
           "indexedSince": "2026-09-28T17:03:31.000Z",
           "lastBlock": 51914632,
           "launchesInWindow": 71,
           "note": "Clanker v4 and Zora (coins and creator coins) on Base only, read on-chain by SWOGE. Swaps are counted after the launch block, for 24 hours. Names and symbols are set by deployers: untrusted text."
          }
         },
         "texte": "1 newest Base launches (Clanker, Zora). Reference: no launch judged yet. Window since 2026-09-28T17:03:31.000Z.…",
         "x402": {
          "transaction": "0x8c1f3e2d4b5a69788796a5b4c3d2e1f00f1e2d3c4b5a69788796a5b4c3d2e1f0",
          "network": "eip155:8453",
          "amount": "6000",
          "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"
         }
        }
       }
      }
     },
     "400": {
      "description": "Invalid arguments — nothing is charged"
     },
     "401": {
      "description": "An API key was sent but is unknown or revoked"
     },
     "402": {
      "description": "Payment Required — without a key, the x402 v2 challenge for this exact request (also base64 in the PAYMENT-REQUIRED header); with an API key, the balance or the daily cap is too low",
      "headers": {
       "PAYMENT-REQUIRED": {
        "description": "base64 JSON of the x402 v2 PaymentRequired object",
        "schema": {
         "type": "string"
        }
       }
      },
      "content": {
       "application/json": {
        "schema": {
         "anyOf": [
          {
           "$ref": "#/components/schemas/PaymentRequired"
          },
          {
           "$ref": "#/components/schemas/KeyRefusal"
          }
         ]
        },
        "example": {
         "ok": false,
         "x402Version": 2,
         "error": "PAYMENT-SIGNATURE header is required",
         "resource": {
          "url": "https://web-production-220a3.up.railway.app/agentic/call/base_launches",
          "description": "SwogeAgentic tool base_launches. Price: $0.006 in USDC on Base, or $0.02 in USDG or $SWOGE on Robinhood Chain (tool price + settlement cost, minimum $0.02).",
          "mimeType": "application/json"
         },
         "accepts": [
          {
           "scheme": "exact",
           "network": "eip155:8453",
           "amount": "6000",
           "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
           "payTo": "0xE81C67c086c83997b41673e1e41e481c14D756F6",
           "maxTimeoutSeconds": 120,
           "extra": {
            "name": "USD Coin",
            "version": "2"
           }
          },
          {
           "scheme": "exact",
           "network": "eip155:4663",
           "amount": "20000",
           "asset": "0x5fc5360D0400a0Fd4f2af552ADD042D716F1d168",
           "payTo": "0xE81C67c086c83997b41673e1e41e481c14D756F6",
           "maxTimeoutSeconds": 120,
           "extra": {
            "assetTransferMethod": "eip3009",
            "name": "Global Dollar",
            "version": "1"
           }
          },
          {
           "scheme": "exact",
           "network": "eip155:4663",
           "amount": "5494945327039461517415",
           "asset": "0x8a166Fb41Cd659a0a43396272FF73973Ce29F817",
           "payTo": "0xE81C67c086c83997b41673e1e41e481c14D756F6",
           "maxTimeoutSeconds": 120,
           "extra": {
            "assetTransferMethod": "permit2",
            "name": "Swole Doge",
            "version": "1"
           }
          }
         ],
         "extensions": {
          "eip2612GasSponsoring": {
           "info": {
            "description": "The server accepts an EIP-2612 permit to the canonical Permit2 contract (value = the exact payment amount) and pays the gas.",
            "version": "1"
           }
          }
         }
        }
       }
      }
     },
     "429": {
      "description": "Too many calls (60 per minute per key) or too many free quotes"
     },
     "502": {
      "description": "The tool or its provider failed — nothing is charged"
     },
     "503": {
      "description": "Unavailable right now (price or provider) — nothing is charged"
     }
    },
    "security": [
     {
      "cleApi": []
     },
     {}
    ],
    "x-payment-info": {
     "protocols": [
      {
       "x402": {}
      }
     ],
     "price": {
      "mode": "dynamic",
      "currency": "USD",
      "min": "0.006000",
      "max": "0.020000"
     }
    }
   }
  },
  "/agentic/call/base_deployer": {
   "post": {
    "operationId": "base_deployer",
    "summary": "Use this when you need the track record of an address that launches tokens on Base (Clanker v4 or Zora)",
    "description": "Use this when you need the track record of an address that launches tokens on Base (Clanker v4 or Zora). Returns every launch we indexed with its swaps in the first hour and 24 hours and its price change, and the share traded within 24 hours against all launches, with its 95% interval. The window is what SWOGE indexed on-chain (it says since when); below 5 judged tokens it does not compare. With an API key: $0.005 per call, billed in $SWOGE at the live price. Without a key (x402): $0.006 now in USDC on Base, $0.02 on Robinhood Chain, in USDC on Base or USDG or $SWOGE on Robinhood Chain (tool price + settlement cost, minimum $0.02; the payer pays no gas on either network); the 402 quotes the exact amount for your arguments.",
    "tags": [
     "base",
     "crypto",
     "osint"
    ],
    "requestBody": {
     "required": true,
     "content": {
      "application/json": {
       "schema": {
        "type": "object",
        "properties": {
         "arguments": {
          "type": "object",
          "properties": {
           "address": {
            "type": "string",
            "description": "the deployer address on Base, 0x followed by 40 hex characters"
           }
          },
          "required": [
           "address"
          ]
         },
         "quote": {
          "type": "boolean",
          "description": "true: return the price of this call without running or charging it"
         }
        },
        "required": [
         "arguments"
        ]
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "The tool result: `resultat` (data), `texte` (the same, as text for a model) and the receipt — `facture`, `solde`, `recu` with an API key, `x402` without one",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "ok": {
           "type": "boolean",
           "const": true
          },
          "outil": {
           "type": "string",
           "const": "base_deployer"
          },
          "resultat": {
           "type": "object",
           "properties": {
            "address": {
             "type": "string",
             "description": "the deployer, lower case"
            },
            "record": {
             "type": "object",
             "properties": {
              "tokens": {
               "type": "number",
               "description": "launches in the window"
              },
              "judged": {
               "type": "number",
               "description": "launches 24 hours old or more"
              },
              "tradedWithin24hPct": {
               "type": [
                "number",
                "null"
               ],
               "description": "share of judged launches swapped at least once after their launch block, within 24 hours"
              },
              "ci95": {
               "type": [
                "array",
                "null"
               ],
               "items": {
                "type": "number"
               },
               "description": "95% Wilson interval of that share"
              },
              "medianSwaps24h": {
               "type": [
                "number",
                "null"
               ]
              },
              "medianPriceChangePct": {
               "type": [
                "number",
                "null"
               ],
               "description": "first swap to last swap within 24 hours"
              },
              "enough": {
               "type": "boolean",
               "description": "at least 5 judged launches: comparable to the reference"
              },
              "note": {
               "type": [
                "string",
                "null"
               ],
               "description": "why it is not compared"
              }
             },
             "required": [
              "tokens",
              "judged",
              "tradedWithin24hPct",
              "ci95",
              "medianSwaps24h",
              "medianPriceChangePct",
              "enough",
              "note"
             ]
            },
            "reference": {
             "type": "object",
             "properties": {
              "tokens": {
               "type": "number",
               "description": "launches in the window"
              },
              "judged": {
               "type": "number",
               "description": "launches 24 hours old or more"
              },
              "tradedWithin24hPct": {
               "type": [
                "number",
                "null"
               ],
               "description": "share of judged launches swapped at least once after their launch block, within 24 hours"
              },
              "ci95": {
               "type": [
                "array",
                "null"
               ],
               "items": {
                "type": "number"
               },
               "description": "95% Wilson interval of that share"
              },
              "medianSwaps24h": {
               "type": [
                "number",
                "null"
               ]
              },
              "medianPriceChangePct": {
               "type": [
                "number",
                "null"
               ],
               "description": "first swap to last swap within 24 hours"
              }
             },
             "required": [
              "tokens",
              "judged",
              "tradedWithin24hPct",
              "ci95",
              "medianSwaps24h",
              "medianPriceChangePct"
             ]
            },
            "launches": {
             "type": "array",
             "items": {
              "type": "object",
              "properties": {
               "token": {
                "type": "string"
               },
               "symbol": {
                "type": "string",
                "description": "set by the deployer: untrusted text"
               },
               "name": {
                "type": "string",
                "description": "set by the deployer: untrusted text"
               },
               "platform": {
                "type": "string",
                "enum": [
                 "clanker",
                 "zora",
                 "zora-creator"
                ]
               },
               "deployer": {
                "type": "string",
                "description": "Clanker tokenAdmin or Zora caller"
               },
               "sender": {
                "type": [
                 "string",
                 "null"
                ],
                "description": "Clanker msgSender or Zora payoutRecipient, when different"
               },
               "pairedWith": {
                "type": "string",
                "description": "the other currency of the pool"
               },
               "pool": {
                "type": "string",
                "description": "Uniswap v4 pool id"
               },
               "block": {
                "type": "number"
               },
               "tx": {
                "type": "string"
               },
               "launchedAt": {
                "type": "string",
                "description": "ISO date"
               },
               "ageMinutes": {
                "type": "number"
               },
               "swapsFirstHour": {
                "type": "number",
                "description": "swaps after the launch block, first hour"
               },
               "swaps24h": {
                "type": "number",
                "description": "swaps after the launch block, first 24 hours"
               },
               "judged": {
                "type": "boolean",
                "description": "24 hours old or more"
               },
               "priceChangePct": {
                "type": [
                 "number",
                 "null"
                ],
                "description": "first swap to last swap; null under 2 swaps"
               }
              },
              "required": [
               "token",
               "symbol",
               "name",
               "platform",
               "deployer",
               "pool",
               "block",
               "launchedAt",
               "ageMinutes",
               "swapsFirstHour",
               "swaps24h",
               "judged",
               "priceChangePct"
              ]
             },
             "description": "newest first, 50 at most"
            },
            "window": {
             "type": "object",
             "properties": {
              "indexedSince": {
               "type": [
                "string",
                "null"
               ],
               "description": "ISO date: nothing before is known"
              },
              "lastBlock": {
               "type": [
                "number",
                "null"
               ]
              },
              "launchesInWindow": {
               "type": "number"
              },
              "note": {
               "type": "string"
              }
             },
             "required": [
              "indexedSince",
              "lastBlock",
              "launchesInWindow",
              "note"
             ]
            }
           },
           "required": [
            "address",
            "record",
            "reference",
            "launches",
            "window"
           ]
          },
          "texte": {
           "type": "string",
           "description": "the same result as plain text, written for a language model"
          },
          "facture": {
           "type": "object",
           "properties": {
            "swoge": {
             "type": "string",
             "description": "$SWOGE billed, exact decimal string"
            },
            "usd": {
             "type": "number",
             "description": "USD billed"
            },
            "maxSwoge": {
             "type": "string",
             "description": "video: most it can bill"
            },
            "maxUsd": {
             "type": "number"
            },
            "aLArrivee": {
             "type": "boolean",
             "description": "video: billed when it arrives"
            }
           },
           "required": [
            "swoge",
            "usd"
           ],
           "description": "with an API key: what was billed"
          },
          "solde": {
           "type": "string",
           "description": "with an API key: the $SWOGE balance left"
          },
          "recu": {
           "type": "string",
           "description": "with an API key: the receipt id"
          },
          "x402": {
           "anyOf": [
            {
             "type": "object",
             "properties": {
              "transaction": {
               "type": "string",
               "description": "settlement transaction hash"
              },
              "network": {
               "type": "string",
               "description": "eip155:4663"
              },
              "amount": {
               "type": "string",
               "description": "atomic units paid"
              },
              "asset": {
               "type": "string",
               "description": "token paid (USDG or $SWOGE)"
              }
             },
             "required": [
              "transaction",
              "network",
              "amount",
              "asset"
             ],
             "description": "paid without a key: the x402 settlement (also in the PAYMENT-RESPONSE header)"
            },
            {
             "type": "object",
             "properties": {
              "x402Version": {
               "type": "integer"
              },
              "resource": {
               "type": "object"
              },
              "accepts": {
               "type": "array",
               "items": {
                "type": "object"
               }
              },
              "extensions": {
               "type": "object"
              }
             },
             "required": [
              "accepts"
             ],
             "description": "in a quote without a key: the x402 requirements of this exact call, payable as they are"
            }
           ]
          },
          "devis": {
           "type": "object",
           "description": "with \"quote\": true: the price of this call — nothing run, nothing charged"
          },
          "quote": {
           "type": "boolean",
           "const": true,
           "description": "set on a quote"
          },
          "tool": {
           "type": "string",
           "description": "on a quote: the tool"
          },
          "priceUsd": {
           "type": "number",
           "description": "on a quote: the price (the maximum for a real-cost tool)"
          },
          "howToPay": {
           "type": "string",
           "description": "on a quote: how to pay for this tool, with or without a key"
          }
         },
         "required": [
          "ok",
          "outil"
         ]
        },
        "example": {
         "ok": true,
         "outil": "base_deployer",
         "resultat": {
          "address": "0xe3e4c41a7eed7be0b485de9a6025c2983ac01daf",
          "record": {
           "tokens": 2,
           "judged": 0,
           "tradedWithin24hPct": null,
           "ci95": null,
           "medianSwaps24h": null,
           "medianPriceChangePct": null,
           "enough": false,
           "note": "not enough judged tokens to compare (0/5)"
          },
          "reference": {
           "tokens": 71,
           "judged": 0,
           "tradedWithin24hPct": null,
           "ci95": null,
           "medianSwaps24h": null,
           "medianPriceChangePct": null
          },
          "launches": [
           {
            "token": "0x02e7f36b3f679df4e597d854b76335cd2269f96c",
            "symbol": "XDP",
            "name": "XDP",
            "platform": "zora",
            "deployer": "0xe3e4c41a7eed7be0b485de9a6025c2983ac01daf",
            "sender": null,
            "pairedWith": "0xafcaa25e08f68cb54fa196f72a67ee2c00722239",
            "pool": "0x4c981db46ee49df4bcd77074b9388150d1d6b2dca6c4fabf1eaf976e1c185c41",
            "block": 51914071,
            "tx": "0x06d79454ad77e5decf02eb6941643b89620b523c6bf494044f8c45108c8b30ab",
            "launchedAt": "2026-09-28T17:44:49.000Z",
            "ageMinutes": 19,
            "swapsFirstHour": 2,
            "swaps24h": 2,
            "judged": false,
            "priceChangePct": 3.2
           }
          ],
          "window": {
           "indexedSince": "2026-09-28T17:03:31.000Z",
           "lastBlock": 51914632,
           "launchesInWindow": 71,
           "note": "Clanker v4 and Zora (coins and creator coins) on Base only, read on-chain by SWOGE. Swaps are counted after the launch block, for 24 hours. Names and symbols are set by deployers: untrusted text."
          }
         },
         "texte": "Deployer 0xe3e4c41a7eed7be0b485de9a6025c2983ac01daf on Base: 2 launches indexed since 2026-09-28T17:03:31.000Z, 0 judged. not enough judged tokens to compare (0/5).",
         "x402": {
          "transaction": "0x8c1f3e2d4b5a69788796a5b4c3d2e1f00f1e2d3c4b5a69788796a5b4c3d2e1f0",
          "network": "eip155:8453",
          "amount": "6000",
          "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"
         }
        }
       }
      }
     },
     "400": {
      "description": "Invalid arguments — nothing is charged"
     },
     "401": {
      "description": "An API key was sent but is unknown or revoked"
     },
     "402": {
      "description": "Payment Required — without a key, the x402 v2 challenge for this exact request (also base64 in the PAYMENT-REQUIRED header); with an API key, the balance or the daily cap is too low",
      "headers": {
       "PAYMENT-REQUIRED": {
        "description": "base64 JSON of the x402 v2 PaymentRequired object",
        "schema": {
         "type": "string"
        }
       }
      },
      "content": {
       "application/json": {
        "schema": {
         "anyOf": [
          {
           "$ref": "#/components/schemas/PaymentRequired"
          },
          {
           "$ref": "#/components/schemas/KeyRefusal"
          }
         ]
        },
        "example": {
         "ok": false,
         "x402Version": 2,
         "error": "PAYMENT-SIGNATURE header is required",
         "resource": {
          "url": "https://web-production-220a3.up.railway.app/agentic/call/base_deployer",
          "description": "SwogeAgentic tool base_deployer. Price: $0.006 in USDC on Base, or $0.02 in USDG or $SWOGE on Robinhood Chain (tool price + settlement cost, minimum $0.02).",
          "mimeType": "application/json"
         },
         "accepts": [
          {
           "scheme": "exact",
           "network": "eip155:8453",
           "amount": "6000",
           "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
           "payTo": "0xE81C67c086c83997b41673e1e41e481c14D756F6",
           "maxTimeoutSeconds": 120,
           "extra": {
            "name": "USD Coin",
            "version": "2"
           }
          },
          {
           "scheme": "exact",
           "network": "eip155:4663",
           "amount": "20000",
           "asset": "0x5fc5360D0400a0Fd4f2af552ADD042D716F1d168",
           "payTo": "0xE81C67c086c83997b41673e1e41e481c14D756F6",
           "maxTimeoutSeconds": 120,
           "extra": {
            "assetTransferMethod": "eip3009",
            "name": "Global Dollar",
            "version": "1"
           }
          },
          {
           "scheme": "exact",
           "network": "eip155:4663",
           "amount": "5494945327039461517415",
           "asset": "0x8a166Fb41Cd659a0a43396272FF73973Ce29F817",
           "payTo": "0xE81C67c086c83997b41673e1e41e481c14D756F6",
           "maxTimeoutSeconds": 120,
           "extra": {
            "assetTransferMethod": "permit2",
            "name": "Swole Doge",
            "version": "1"
           }
          }
         ],
         "extensions": {
          "eip2612GasSponsoring": {
           "info": {
            "description": "The server accepts an EIP-2612 permit to the canonical Permit2 contract (value = the exact payment amount) and pays the gas.",
            "version": "1"
           }
          }
         }
        }
       }
      }
     },
     "429": {
      "description": "Too many calls (60 per minute per key) or too many free quotes"
     },
     "502": {
      "description": "The tool or its provider failed — nothing is charged"
     },
     "503": {
      "description": "Unavailable right now (price or provider) — nothing is charged"
     }
    },
    "security": [
     {
      "cleApi": []
     },
     {}
    ],
    "x-payment-info": {
     "protocols": [
      {
       "x402": {}
      }
     ],
     "price": {
      "mode": "dynamic",
      "currency": "USD",
      "min": "0.006000",
      "max": "0.020000"
     }
    }
   }
  },
  "/agentic/call/fair_commit": {
   "post": {
    "operationId": "fair_commit",
    "summary": "Use this before any draw other players must trust (a game between agents, a raffle, a giveaway): the server picks a secret seed and publishes its SHA-256 hash now, so it cannot change the seed later",
    "description": "Use this before any draw other players must trust (a game between agents, a raffle, a giveaway): the server picks a secret seed and publishes its SHA-256 hash now, so it cannot change the seed later. Returns a commitment_id and the server_seed_hash to share with the players. Then call fair_draw. With an API key: $0.001 per call, billed in $SWOGE at the live price. Without a key (x402): $0.003 now in USDC on Base, $0.02 on Robinhood Chain, in USDC on Base or USDG or $SWOGE on Robinhood Chain (tool price + settlement cost, minimum $0.02; the payer pays no gas on either network); the 402 quotes the exact amount for your arguments.",
    "tags": [
     "randomness"
    ],
    "requestBody": {
     "required": true,
     "content": {
      "application/json": {
       "schema": {
        "type": "object",
        "properties": {
         "arguments": {
          "type": "object",
          "properties": {}
         },
         "quote": {
          "type": "boolean",
          "description": "true: return the price of this call without running or charging it"
         }
        },
        "required": [
         "arguments"
        ]
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "The tool result: `resultat` (data), `texte` (the same, as text for a model) and the receipt — `facture`, `solde`, `recu` with an API key, `x402` without one",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "ok": {
           "type": "boolean",
           "const": true
          },
          "outil": {
           "type": "string",
           "const": "fair_commit"
          },
          "resultat": {
           "type": "object",
           "properties": {
            "commitment_id": {
             "type": "string",
             "description": "24 hex characters, for fair_draw"
            },
            "server_seed_hash": {
             "type": "string",
             "description": "SHA-256 of the secret server seed (hex); share it before the draw"
            },
            "algorithm": {
             "type": "string",
             "description": "swoge-hmac-sha256-v1"
            },
            "committed_at": {
             "type": "string",
             "description": "ISO date"
            },
            "expires_at": {
             "type": "string",
             "description": "ISO date, 7 days later"
            },
            "next": {
             "type": "string",
             "description": "what to do next"
            }
           },
           "required": [
            "commitment_id",
            "server_seed_hash",
            "algorithm",
            "committed_at",
            "expires_at",
            "next"
           ]
          },
          "texte": {
           "type": "string",
           "description": "the same result as plain text, written for a language model"
          },
          "facture": {
           "type": "object",
           "properties": {
            "swoge": {
             "type": "string",
             "description": "$SWOGE billed, exact decimal string"
            },
            "usd": {
             "type": "number",
             "description": "USD billed"
            },
            "maxSwoge": {
             "type": "string",
             "description": "video: most it can bill"
            },
            "maxUsd": {
             "type": "number"
            },
            "aLArrivee": {
             "type": "boolean",
             "description": "video: billed when it arrives"
            }
           },
           "required": [
            "swoge",
            "usd"
           ],
           "description": "with an API key: what was billed"
          },
          "solde": {
           "type": "string",
           "description": "with an API key: the $SWOGE balance left"
          },
          "recu": {
           "type": "string",
           "description": "with an API key: the receipt id"
          },
          "x402": {
           "anyOf": [
            {
             "type": "object",
             "properties": {
              "transaction": {
               "type": "string",
               "description": "settlement transaction hash"
              },
              "network": {
               "type": "string",
               "description": "eip155:4663"
              },
              "amount": {
               "type": "string",
               "description": "atomic units paid"
              },
              "asset": {
               "type": "string",
               "description": "token paid (USDG or $SWOGE)"
              }
             },
             "required": [
              "transaction",
              "network",
              "amount",
              "asset"
             ],
             "description": "paid without a key: the x402 settlement (also in the PAYMENT-RESPONSE header)"
            },
            {
             "type": "object",
             "properties": {
              "x402Version": {
               "type": "integer"
              },
              "resource": {
               "type": "object"
              },
              "accepts": {
               "type": "array",
               "items": {
                "type": "object"
               }
              },
              "extensions": {
               "type": "object"
              }
             },
             "required": [
              "accepts"
             ],
             "description": "in a quote without a key: the x402 requirements of this exact call, payable as they are"
            }
           ]
          },
          "devis": {
           "type": "object",
           "description": "with \"quote\": true: the price of this call — nothing run, nothing charged"
          },
          "quote": {
           "type": "boolean",
           "const": true,
           "description": "set on a quote"
          },
          "tool": {
           "type": "string",
           "description": "on a quote: the tool"
          },
          "priceUsd": {
           "type": "number",
           "description": "on a quote: the price (the maximum for a real-cost tool)"
          },
          "howToPay": {
           "type": "string",
           "description": "on a quote: how to pay for this tool, with or without a key"
          }
         },
         "required": [
          "ok",
          "outil"
         ]
        },
        "example": {
         "ok": true,
         "outil": "fair_commit",
         "resultat": {
          "commitment_id": "6a1f0c3e9b7d2a5c8e4f1b0d",
          "server_seed_hash": "b85ef21a5deba1bcd033f7eb675b391cf40ce04d63d5e3da39ed9f61f27180b8",
          "algorithm": "swoge-hmac-sha256-v1",
          "committed_at": "2026-09-28T21:00:00.000Z",
          "expires_at": "2026-10-05T21:00:00.000Z",
          "next": "Share server_seed_hash with the other players now. Then call fair_draw with this commitment_id and your client_seed: the server reveals its seed and draws once."
         },
         "texte": "Commitment 6a1f0c3e9b7d2a5c8e4f1b0d: server_seed_hash b85ef21a5deba1bc… (swoge-hmac-sha256-v1)…",
         "x402": {
          "transaction": "0x8c1f3e2d4b5a69788796a5b4c3d2e1f00f1e2d3c4b5a69788796a5b4c3d2e1f0",
          "network": "eip155:8453",
          "amount": "3000",
          "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"
         }
        }
       }
      }
     },
     "400": {
      "description": "Invalid arguments — nothing is charged"
     },
     "401": {
      "description": "An API key was sent but is unknown or revoked"
     },
     "402": {
      "description": "Payment Required — without a key, the x402 v2 challenge for this exact request (also base64 in the PAYMENT-REQUIRED header); with an API key, the balance or the daily cap is too low",
      "headers": {
       "PAYMENT-REQUIRED": {
        "description": "base64 JSON of the x402 v2 PaymentRequired object",
        "schema": {
         "type": "string"
        }
       }
      },
      "content": {
       "application/json": {
        "schema": {
         "anyOf": [
          {
           "$ref": "#/components/schemas/PaymentRequired"
          },
          {
           "$ref": "#/components/schemas/KeyRefusal"
          }
         ]
        },
        "example": {
         "ok": false,
         "x402Version": 2,
         "error": "PAYMENT-SIGNATURE header is required",
         "resource": {
          "url": "https://web-production-220a3.up.railway.app/agentic/call/fair_commit",
          "description": "SwogeAgentic tool fair_commit. Price: $0.003 in USDC on Base, or $0.02 in USDG or $SWOGE on Robinhood Chain (tool price + settlement cost, minimum $0.02).",
          "mimeType": "application/json"
         },
         "accepts": [
          {
           "scheme": "exact",
           "network": "eip155:8453",
           "amount": "3000",
           "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
           "payTo": "0xE81C67c086c83997b41673e1e41e481c14D756F6",
           "maxTimeoutSeconds": 120,
           "extra": {
            "name": "USD Coin",
            "version": "2"
           }
          },
          {
           "scheme": "exact",
           "network": "eip155:4663",
           "amount": "20000",
           "asset": "0x5fc5360D0400a0Fd4f2af552ADD042D716F1d168",
           "payTo": "0xE81C67c086c83997b41673e1e41e481c14D756F6",
           "maxTimeoutSeconds": 120,
           "extra": {
            "assetTransferMethod": "eip3009",
            "name": "Global Dollar",
            "version": "1"
           }
          },
          {
           "scheme": "exact",
           "network": "eip155:4663",
           "amount": "5494945327039461517415",
           "asset": "0x8a166Fb41Cd659a0a43396272FF73973Ce29F817",
           "payTo": "0xE81C67c086c83997b41673e1e41e481c14D756F6",
           "maxTimeoutSeconds": 120,
           "extra": {
            "assetTransferMethod": "permit2",
            "name": "Swole Doge",
            "version": "1"
           }
          }
         ],
         "extensions": {
          "eip2612GasSponsoring": {
           "info": {
            "description": "The server accepts an EIP-2612 permit to the canonical Permit2 contract (value = the exact payment amount) and pays the gas.",
            "version": "1"
           }
          }
         }
        }
       }
      }
     },
     "429": {
      "description": "Too many calls (60 per minute per key) or too many free quotes"
     },
     "502": {
      "description": "The tool or its provider failed — nothing is charged"
     },
     "503": {
      "description": "Unavailable right now (price or provider) — nothing is charged"
     }
    },
    "security": [
     {
      "cleApi": []
     },
     {}
    ],
    "x-payment-info": {
     "protocols": [
      {
       "x402": {}
      }
     ],
     "price": {
      "mode": "dynamic",
      "currency": "USD",
      "min": "0.003000",
      "max": "0.020000"
     }
    }
   }
  },
  "/agentic/call/fair_draw": {
   "post": {
    "operationId": "fair_draw",
    "summary": "Use this after fair_commit, once every player has seen the server_seed_hash: give your client_seed and get uniform random integers in [min, max]",
    "description": "Use this after fair_commit, once every player has seen the server_seed_hash: give your client_seed and get uniform random integers in [min, max]. The server reveals its seed with the draw; a commitment draws once (a second call returns the original draw). Algorithm swoge-hmac-sha256-v1: HMAC-SHA256(server_seed, client_seed:counter) read 4 bytes at a time, rejection sampling, no bias; the answer carries code that redoes it. With an API key: $0.001 per call, billed in $SWOGE at the live price. Without a key (x402): $0.003 now in USDC on Base, $0.02 on Robinhood Chain, in USDC on Base or USDG or $SWOGE on Robinhood Chain (tool price + settlement cost, minimum $0.02; the payer pays no gas on either network); the 402 quotes the exact amount for your arguments.",
    "tags": [
     "randomness"
    ],
    "requestBody": {
     "required": true,
     "content": {
      "application/json": {
       "schema": {
        "type": "object",
        "properties": {
         "arguments": {
          "type": "object",
          "properties": {
           "commitment_id": {
            "type": "string",
            "description": "the id fair_commit returned"
           },
           "client_seed": {
            "type": "string",
            "description": "your seed, 1 to 128 printable ASCII characters (pick it after seeing the server_seed_hash)"
           },
           "count": {
            "type": "integer",
            "minimum": 1,
            "maximum": 100,
            "description": "how many numbers (default 1)"
           },
           "min": {
            "type": "integer",
            "description": "smallest value (default 1)"
           },
           "max": {
            "type": "integer",
            "description": "largest value (default 100)"
           }
          },
          "required": [
           "commitment_id",
           "client_seed"
          ]
         },
         "quote": {
          "type": "boolean",
          "description": "true: return the price of this call without running or charging it"
         }
        },
        "required": [
         "arguments"
        ]
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "The tool result: `resultat` (data), `texte` (the same, as text for a model) and the receipt — `facture`, `solde`, `recu` with an API key, `x402` without one",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "ok": {
           "type": "boolean",
           "const": true
          },
          "outil": {
           "type": "string",
           "const": "fair_draw"
          },
          "resultat": {
           "type": "object",
           "properties": {
            "commitment_id": {
             "type": "string"
            },
            "algorithm": {
             "type": "string"
            },
            "server_seed_hash": {
             "type": "string",
             "description": "the hash published by fair_commit"
            },
            "server_seed": {
             "type": "string",
             "description": "the revealed seed: SHA-256 of it is server_seed_hash"
            },
            "client_seed": {
             "type": "string"
            },
            "count": {
             "type": "number"
            },
            "min": {
             "type": "number"
            },
            "max": {
             "type": "number"
            },
            "numbers": {
             "type": "array",
             "items": {
              "type": "number"
             },
             "description": "uniform integers in [min, max]"
            },
            "committed_at": {
             "type": "string"
            },
            "drawn_at": {
             "type": "string"
            },
            "verify_code": {
             "type": "string",
             "description": "Node.js code that redoes the draw"
            },
            "already_drawn": {
             "type": "boolean",
             "description": "true when this commitment was drawn before: the original draw is returned"
            },
            "note": {
             "type": [
              "string",
              "null"
             ]
            }
           },
           "required": [
            "commitment_id",
            "algorithm",
            "server_seed_hash",
            "server_seed",
            "client_seed",
            "count",
            "min",
            "max",
            "numbers",
            "drawn_at",
            "verify_code",
            "already_drawn"
           ]
          },
          "texte": {
           "type": "string",
           "description": "the same result as plain text, written for a language model"
          },
          "facture": {
           "type": "object",
           "properties": {
            "swoge": {
             "type": "string",
             "description": "$SWOGE billed, exact decimal string"
            },
            "usd": {
             "type": "number",
             "description": "USD billed"
            },
            "maxSwoge": {
             "type": "string",
             "description": "video: most it can bill"
            },
            "maxUsd": {
             "type": "number"
            },
            "aLArrivee": {
             "type": "boolean",
             "description": "video: billed when it arrives"
            }
           },
           "required": [
            "swoge",
            "usd"
           ],
           "description": "with an API key: what was billed"
          },
          "solde": {
           "type": "string",
           "description": "with an API key: the $SWOGE balance left"
          },
          "recu": {
           "type": "string",
           "description": "with an API key: the receipt id"
          },
          "x402": {
           "anyOf": [
            {
             "type": "object",
             "properties": {
              "transaction": {
               "type": "string",
               "description": "settlement transaction hash"
              },
              "network": {
               "type": "string",
               "description": "eip155:4663"
              },
              "amount": {
               "type": "string",
               "description": "atomic units paid"
              },
              "asset": {
               "type": "string",
               "description": "token paid (USDG or $SWOGE)"
              }
             },
             "required": [
              "transaction",
              "network",
              "amount",
              "asset"
             ],
             "description": "paid without a key: the x402 settlement (also in the PAYMENT-RESPONSE header)"
            },
            {
             "type": "object",
             "properties": {
              "x402Version": {
               "type": "integer"
              },
              "resource": {
               "type": "object"
              },
              "accepts": {
               "type": "array",
               "items": {
                "type": "object"
               }
              },
              "extensions": {
               "type": "object"
              }
             },
             "required": [
              "accepts"
             ],
             "description": "in a quote without a key: the x402 requirements of this exact call, payable as they are"
            }
           ]
          },
          "devis": {
           "type": "object",
           "description": "with \"quote\": true: the price of this call — nothing run, nothing charged"
          },
          "quote": {
           "type": "boolean",
           "const": true,
           "description": "set on a quote"
          },
          "tool": {
           "type": "string",
           "description": "on a quote: the tool"
          },
          "priceUsd": {
           "type": "number",
           "description": "on a quote: the price (the maximum for a real-cost tool)"
          },
          "howToPay": {
           "type": "string",
           "description": "on a quote: how to pay for this tool, with or without a key"
          }
         },
         "required": [
          "ok",
          "outil"
         ]
        },
        "example": {
         "ok": true,
         "outil": "fair_draw",
         "resultat": {
          "commitment_id": "6a1f0c3e9b7d2a5c8e4f1b0d",
          "algorithm": "swoge-hmac-sha256-v1",
          "server_seed_hash": "b85ef21a5deba1bcd033f7eb675b391cf40ce04d63d5e3da39ed9f61f27180b8",
          "server_seed": "3f9a1c7e5b2d4086a1f3e5c7b9d0f2a4c6e8b1d3f5a7c9e0b2d4f6a8c0e2b4d6",
          "client_seed": "agent-42",
          "count": 5,
          "min": 1,
          "max": 6,
          "numbers": [
           3,
           4,
           3,
           5,
           3
          ],
          "committed_at": "2026-09-28T21:00:00.000Z",
          "drawn_at": "2026-09-28T21:02:00.000Z",
          "verify_code": "const c=require(\"crypto\");function draw(s,cs,n,min,max){…}",
          "already_drawn": false
         },
         "texte": "Draw: 3, 4, 3, 5, 3 in [1, 6]. server_seed 3f9a1c7e… (hash b85ef21a…), client_seed \"agent-42\".",
         "x402": {
          "transaction": "0x8c1f3e2d4b5a69788796a5b4c3d2e1f00f1e2d3c4b5a69788796a5b4c3d2e1f0",
          "network": "eip155:8453",
          "amount": "3000",
          "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"
         }
        }
       }
      }
     },
     "400": {
      "description": "Invalid arguments — nothing is charged"
     },
     "401": {
      "description": "An API key was sent but is unknown or revoked"
     },
     "402": {
      "description": "Payment Required — without a key, the x402 v2 challenge for this exact request (also base64 in the PAYMENT-REQUIRED header); with an API key, the balance or the daily cap is too low",
      "headers": {
       "PAYMENT-REQUIRED": {
        "description": "base64 JSON of the x402 v2 PaymentRequired object",
        "schema": {
         "type": "string"
        }
       }
      },
      "content": {
       "application/json": {
        "schema": {
         "anyOf": [
          {
           "$ref": "#/components/schemas/PaymentRequired"
          },
          {
           "$ref": "#/components/schemas/KeyRefusal"
          }
         ]
        },
        "example": {
         "ok": false,
         "x402Version": 2,
         "error": "PAYMENT-SIGNATURE header is required",
         "resource": {
          "url": "https://web-production-220a3.up.railway.app/agentic/call/fair_draw",
          "description": "SwogeAgentic tool fair_draw. Price: $0.003 in USDC on Base, or $0.02 in USDG or $SWOGE on Robinhood Chain (tool price + settlement cost, minimum $0.02).",
          "mimeType": "application/json"
         },
         "accepts": [
          {
           "scheme": "exact",
           "network": "eip155:8453",
           "amount": "3000",
           "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
           "payTo": "0xE81C67c086c83997b41673e1e41e481c14D756F6",
           "maxTimeoutSeconds": 120,
           "extra": {
            "name": "USD Coin",
            "version": "2"
           }
          },
          {
           "scheme": "exact",
           "network": "eip155:4663",
           "amount": "20000",
           "asset": "0x5fc5360D0400a0Fd4f2af552ADD042D716F1d168",
           "payTo": "0xE81C67c086c83997b41673e1e41e481c14D756F6",
           "maxTimeoutSeconds": 120,
           "extra": {
            "assetTransferMethod": "eip3009",
            "name": "Global Dollar",
            "version": "1"
           }
          },
          {
           "scheme": "exact",
           "network": "eip155:4663",
           "amount": "5494945327039461517415",
           "asset": "0x8a166Fb41Cd659a0a43396272FF73973Ce29F817",
           "payTo": "0xE81C67c086c83997b41673e1e41e481c14D756F6",
           "maxTimeoutSeconds": 120,
           "extra": {
            "assetTransferMethod": "permit2",
            "name": "Swole Doge",
            "version": "1"
           }
          }
         ],
         "extensions": {
          "eip2612GasSponsoring": {
           "info": {
            "description": "The server accepts an EIP-2612 permit to the canonical Permit2 contract (value = the exact payment amount) and pays the gas.",
            "version": "1"
           }
          }
         }
        }
       }
      }
     },
     "429": {
      "description": "Too many calls (60 per minute per key) or too many free quotes"
     },
     "502": {
      "description": "The tool or its provider failed — nothing is charged"
     },
     "503": {
      "description": "Unavailable right now (price or provider) — nothing is charged"
     }
    },
    "security": [
     {
      "cleApi": []
     },
     {}
    ],
    "x-payment-info": {
     "protocols": [
      {
       "x402": {}
      }
     ],
     "price": {
      "mode": "dynamic",
      "currency": "USD",
      "min": "0.003000",
      "max": "0.020000"
     }
    }
   }
  },
  "/agentic/call/fair_verify": {
   "post": {
    "operationId": "fair_verify",
    "summary": "Use this to check a draw independently: recomputes the SHA-256 of a revealed server_seed against its hash, and the numbers of a swoge-hmac-sha256-v1 draw, or the 52-card shoe of a SWOGE casino hand (scheme swoge-casino-shoe with its nonce)",
    "description": "Use this to check a draw independently: recomputes the SHA-256 of a revealed server_seed against its hash, and the numbers of a swoge-hmac-sha256-v1 draw, or the 52-card shoe of a SWOGE casino hand (scheme swoge-casino-shoe with its nonce). Pure computation: nothing is stored. With an API key: $0.001 per call, billed in $SWOGE at the live price. Without a key (x402): $0.003 now in USDC on Base, $0.02 on Robinhood Chain, in USDC on Base or USDG or $SWOGE on Robinhood Chain (tool price + settlement cost, minimum $0.02; the payer pays no gas on either network); the 402 quotes the exact amount for your arguments.",
    "tags": [
     "randomness"
    ],
    "requestBody": {
     "required": true,
     "content": {
      "application/json": {
       "schema": {
        "type": "object",
        "properties": {
         "arguments": {
          "type": "object",
          "properties": {
           "server_seed": {
            "type": "string",
            "description": "the revealed server seed"
           },
           "server_seed_hash": {
            "type": "string",
            "description": "optional; the hash published before the draw"
           },
           "client_seed": {
            "type": "string",
            "description": "the client seed of the draw"
           },
           "scheme": {
            "type": "string",
            "enum": [
             "swoge-hmac-sha256-v1",
             "swoge-casino-shoe"
            ],
            "description": "default swoge-hmac-sha256-v1"
           },
           "count": {
            "type": "integer",
            "description": "numbers drawn (default 1)"
           },
           "min": {
            "type": "integer",
            "description": "default 1"
           },
           "max": {
            "type": "integer",
            "description": "default 100"
           },
           "numbers": {
            "type": "array",
            "items": {
             "type": "integer"
            },
            "description": "optional; the numbers you were given, to compare"
           },
           "nonce": {
            "type": "integer",
            "description": "swoge-casino-shoe only: the hand number"
           }
          },
          "required": [
           "server_seed",
           "client_seed"
          ]
         },
         "quote": {
          "type": "boolean",
          "description": "true: return the price of this call without running or charging it"
         }
        },
        "required": [
         "arguments"
        ]
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "The tool result: `resultat` (data), `texte` (the same, as text for a model) and the receipt — `facture`, `solde`, `recu` with an API key, `x402` without one",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "ok": {
           "type": "boolean",
           "const": true
          },
          "outil": {
           "type": "string",
           "const": "fair_verify"
          },
          "resultat": {
           "type": "object",
           "properties": {
            "algorithm": {
             "type": "string"
            },
            "server_seed_hash_computed": {
             "type": "string",
             "description": "SHA-256 of server_seed"
            },
            "hash_matches": {
             "type": [
              "boolean",
              "null"
             ],
             "description": "null when no hash was given"
            },
            "count": {
             "type": "number"
            },
            "min": {
             "type": "number"
            },
            "max": {
             "type": "number"
            },
            "numbers": {
             "type": "array",
             "items": {
              "type": "number"
             }
            },
            "numbers_match": {
             "type": [
              "boolean",
              "null"
             ],
             "description": "null when no numbers were given"
            },
            "nonce": {
             "type": "number",
             "description": "swoge-casino-shoe only"
            },
            "deck": {
             "type": "array",
             "items": {
              "type": "number"
             },
             "description": "swoge-casino-shoe only: card ids 0-51, rank = id % 13 (0 = 2 … 12 = ace), suit = id / 13"
            },
            "cards": {
             "type": "array",
             "items": {
              "type": "string"
             },
             "description": "swoge-casino-shoe only: e.g. As, Td"
            }
           },
           "required": [
            "algorithm",
            "server_seed_hash_computed",
            "hash_matches"
           ]
          },
          "texte": {
           "type": "string",
           "description": "the same result as plain text, written for a language model"
          },
          "facture": {
           "type": "object",
           "properties": {
            "swoge": {
             "type": "string",
             "description": "$SWOGE billed, exact decimal string"
            },
            "usd": {
             "type": "number",
             "description": "USD billed"
            },
            "maxSwoge": {
             "type": "string",
             "description": "video: most it can bill"
            },
            "maxUsd": {
             "type": "number"
            },
            "aLArrivee": {
             "type": "boolean",
             "description": "video: billed when it arrives"
            }
           },
           "required": [
            "swoge",
            "usd"
           ],
           "description": "with an API key: what was billed"
          },
          "solde": {
           "type": "string",
           "description": "with an API key: the $SWOGE balance left"
          },
          "recu": {
           "type": "string",
           "description": "with an API key: the receipt id"
          },
          "x402": {
           "anyOf": [
            {
             "type": "object",
             "properties": {
              "transaction": {
               "type": "string",
               "description": "settlement transaction hash"
              },
              "network": {
               "type": "string",
               "description": "eip155:4663"
              },
              "amount": {
               "type": "string",
               "description": "atomic units paid"
              },
              "asset": {
               "type": "string",
               "description": "token paid (USDG or $SWOGE)"
              }
             },
             "required": [
              "transaction",
              "network",
              "amount",
              "asset"
             ],
             "description": "paid without a key: the x402 settlement (also in the PAYMENT-RESPONSE header)"
            },
            {
             "type": "object",
             "properties": {
              "x402Version": {
               "type": "integer"
              },
              "resource": {
               "type": "object"
              },
              "accepts": {
               "type": "array",
               "items": {
                "type": "object"
               }
              },
              "extensions": {
               "type": "object"
              }
             },
             "required": [
              "accepts"
             ],
             "description": "in a quote without a key: the x402 requirements of this exact call, payable as they are"
            }
           ]
          },
          "devis": {
           "type": "object",
           "description": "with \"quote\": true: the price of this call — nothing run, nothing charged"
          },
          "quote": {
           "type": "boolean",
           "const": true,
           "description": "set on a quote"
          },
          "tool": {
           "type": "string",
           "description": "on a quote: the tool"
          },
          "priceUsd": {
           "type": "number",
           "description": "on a quote: the price (the maximum for a real-cost tool)"
          },
          "howToPay": {
           "type": "string",
           "description": "on a quote: how to pay for this tool, with or without a key"
          }
         },
         "required": [
          "ok",
          "outil"
         ]
        },
        "example": {
         "ok": true,
         "outil": "fair_verify",
         "resultat": {
          "algorithm": "swoge-hmac-sha256-v1",
          "server_seed_hash_computed": "b85ef21a5deba1bcd033f7eb675b391cf40ce04d63d5e3da39ed9f61f27180b8",
          "hash_matches": true,
          "count": 5,
          "min": 1,
          "max": 6,
          "numbers": [
           3,
           4,
           3,
           5,
           3
          ],
          "numbers_match": true
         },
         "texte": "Hash matches. Numbers: 3, 4, 3, 5, 3 (match the claimed draw).",
         "x402": {
          "transaction": "0x8c1f3e2d4b5a69788796a5b4c3d2e1f00f1e2d3c4b5a69788796a5b4c3d2e1f0",
          "network": "eip155:8453",
          "amount": "3000",
          "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"
         }
        }
       }
      }
     },
     "400": {
      "description": "Invalid arguments — nothing is charged"
     },
     "401": {
      "description": "An API key was sent but is unknown or revoked"
     },
     "402": {
      "description": "Payment Required — without a key, the x402 v2 challenge for this exact request (also base64 in the PAYMENT-REQUIRED header); with an API key, the balance or the daily cap is too low",
      "headers": {
       "PAYMENT-REQUIRED": {
        "description": "base64 JSON of the x402 v2 PaymentRequired object",
        "schema": {
         "type": "string"
        }
       }
      },
      "content": {
       "application/json": {
        "schema": {
         "anyOf": [
          {
           "$ref": "#/components/schemas/PaymentRequired"
          },
          {
           "$ref": "#/components/schemas/KeyRefusal"
          }
         ]
        },
        "example": {
         "ok": false,
         "x402Version": 2,
         "error": "PAYMENT-SIGNATURE header is required",
         "resource": {
          "url": "https://web-production-220a3.up.railway.app/agentic/call/fair_verify",
          "description": "SwogeAgentic tool fair_verify. Price: $0.003 in USDC on Base, or $0.02 in USDG or $SWOGE on Robinhood Chain (tool price + settlement cost, minimum $0.02).",
          "mimeType": "application/json"
         },
         "accepts": [
          {
           "scheme": "exact",
           "network": "eip155:8453",
           "amount": "3000",
           "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
           "payTo": "0xE81C67c086c83997b41673e1e41e481c14D756F6",
           "maxTimeoutSeconds": 120,
           "extra": {
            "name": "USD Coin",
            "version": "2"
           }
          },
          {
           "scheme": "exact",
           "network": "eip155:4663",
           "amount": "20000",
           "asset": "0x5fc5360D0400a0Fd4f2af552ADD042D716F1d168",
           "payTo": "0xE81C67c086c83997b41673e1e41e481c14D756F6",
           "maxTimeoutSeconds": 120,
           "extra": {
            "assetTransferMethod": "eip3009",
            "name": "Global Dollar",
            "version": "1"
           }
          },
          {
           "scheme": "exact",
           "network": "eip155:4663",
           "amount": "5494945327039461517415",
           "asset": "0x8a166Fb41Cd659a0a43396272FF73973Ce29F817",
           "payTo": "0xE81C67c086c83997b41673e1e41e481c14D756F6",
           "maxTimeoutSeconds": 120,
           "extra": {
            "assetTransferMethod": "permit2",
            "name": "Swole Doge",
            "version": "1"
           }
          }
         ],
         "extensions": {
          "eip2612GasSponsoring": {
           "info": {
            "description": "The server accepts an EIP-2612 permit to the canonical Permit2 contract (value = the exact payment amount) and pays the gas.",
            "version": "1"
           }
          }
         }
        }
       }
      }
     },
     "429": {
      "description": "Too many calls (60 per minute per key) or too many free quotes"
     },
     "502": {
      "description": "The tool or its provider failed — nothing is charged"
     },
     "503": {
      "description": "Unavailable right now (price or provider) — nothing is charged"
     }
    },
    "security": [
     {
      "cleApi": []
     },
     {}
    ],
    "x-payment-info": {
     "protocols": [
      {
       "x402": {}
      }
     ],
     "price": {
      "mode": "dynamic",
      "currency": "USD",
      "min": "0.003000",
      "max": "0.020000"
     }
    }
   }
  },
  "/agentic/call/roast_token": {
   "post": {
    "operationId": "roast_token",
    "summary": "Use this when you want a funny, shareable take on an EVM token for a post or a chat: SWOGE, a very muscular shiba inu, roasts it in 2 or 3 sentences built only on its real data",
    "description": "Use this when you want a funny, shareable take on an EVM token for a post or a chat: SWOGE, a very muscular shiba inu, roasts it in 2 or 3 sentences built only on its real data. The facts are the same as token_verdict (DexScreener pool, GoPlus contract checks, Powered by Go+ Security, https://gopluslabs.io, and the SWOGE AI colony for Robinhood Chain tokens); the roast repeats a red flag only when a check actually raised it. Returns the roast, the facts behind it and a shareable 1200×630 PNG card with a share link whose preview is the card. Entertainment, never a buy or sell signal. With an API key: $0.015 per call, billed in $SWOGE at the live price. Without a key (x402): $0.02 now in USDC on Base, $0.020591 on Robinhood Chain, in USDC on Base or USDG or $SWOGE on Robinhood Chain (tool price + settlement cost, minimum $0.02; the payer pays no gas on either network); the 402 quotes the exact amount for your arguments.",
    "tags": [
     "crypto",
     "images",
     "token-security"
    ],
    "requestBody": {
     "required": true,
     "content": {
      "application/json": {
       "schema": {
        "type": "object",
        "properties": {
         "arguments": {
          "type": "object",
          "properties": {
           "address": {
            "type": "string",
            "description": "EVM contract address, 0x followed by 40 hex characters"
           }
          },
          "required": [
           "address"
          ]
         },
         "quote": {
          "type": "boolean",
          "description": "true: return the price of this call without running or charging it"
         }
        },
        "required": [
         "arguments"
        ]
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "The tool result: `resultat` (data), `texte` (the same, as text for a model) and the receipt — `facture`, `solde`, `recu` with an API key, `x402` without one",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "ok": {
           "type": "boolean",
           "const": true
          },
          "outil": {
           "type": "string",
           "const": "roast_token"
          },
          "resultat": {
           "type": "object",
           "properties": {
            "token": {
             "type": "object",
             "properties": {
              "address": {
               "type": "string",
               "description": "token contract, lower case"
              },
              "symbol": {
               "type": [
                "string",
                "null"
               ],
               "description": "symbol from DexScreener"
              },
              "chain": {
               "type": [
                "string",
                "null"
               ],
               "description": "DexScreener chain id"
              }
             },
             "required": [
              "address",
              "symbol",
              "chain"
             ]
            },
            "roast": {
             "type": "string",
             "description": "the roast, 2 or 3 sentences, at most 240 characters, ASCII"
            },
            "verdict": {
             "type": "string",
             "enum": [
              "red_flags",
              "caution",
              "unknown",
              "no_red_flag_found"
             ],
             "description": "the token_verdict of the same data"
            },
            "writer": {
             "type": "string",
             "description": "SWOGE AI (Claude Haiku), or template when the model did not answer: the template is built from the same facts"
            },
            "facts": {
             "type": "object",
             "properties": {
              "symbol": {
               "type": [
                "string",
                "null"
               ]
              },
              "name": {
               "type": [
                "string",
                "null"
               ]
              },
              "chain": {
               "type": [
                "string",
                "null"
               ]
              },
              "priceUsd": {
               "type": [
                "number",
                "null"
               ]
              },
              "liquidityUsd": {
               "type": [
                "number",
                "null"
               ],
               "description": "deepest pool, USD"
              },
              "marketCapUsd": {
               "type": [
                "number",
                "null"
               ]
              },
              "poolAgeDays": {
               "type": [
                "number",
                "null"
               ]
              },
              "change24hPct": {
               "type": [
                "number",
                "null"
               ]
              },
              "verdict": {
               "type": "string"
              },
              "flags": {
               "type": "array",
               "items": {
                "type": "string"
               },
               "description": "level: what fired"
              }
             },
             "required": [
              "symbol",
              "liquidityUsd",
              "marketCapUsd",
              "verdict",
              "flags"
             ],
             "description": "the only facts the roast may use"
            },
            "links": {
             "type": "object",
             "properties": {
              "card": {
               "type": "string",
               "description": "shareable card, PNG 1200×630"
              },
              "share": {
               "type": "string",
               "description": "share page whose link preview is the card"
              }
             },
             "required": [
              "card",
              "share"
             ]
            },
            "note": {
             "type": "string",
             "description": "what the roast is not"
            }
           },
           "required": [
            "token",
            "roast",
            "verdict",
            "writer",
            "facts",
            "links",
            "note"
           ]
          },
          "texte": {
           "type": "string",
           "description": "the same result as plain text, written for a language model"
          },
          "facture": {
           "type": "object",
           "properties": {
            "swoge": {
             "type": "string",
             "description": "$SWOGE billed, exact decimal string"
            },
            "usd": {
             "type": "number",
             "description": "USD billed"
            },
            "maxSwoge": {
             "type": "string",
             "description": "video: most it can bill"
            },
            "maxUsd": {
             "type": "number"
            },
            "aLArrivee": {
             "type": "boolean",
             "description": "video: billed when it arrives"
            }
           },
           "required": [
            "swoge",
            "usd"
           ],
           "description": "with an API key: what was billed"
          },
          "solde": {
           "type": "string",
           "description": "with an API key: the $SWOGE balance left"
          },
          "recu": {
           "type": "string",
           "description": "with an API key: the receipt id"
          },
          "x402": {
           "anyOf": [
            {
             "type": "object",
             "properties": {
              "transaction": {
               "type": "string",
               "description": "settlement transaction hash"
              },
              "network": {
               "type": "string",
               "description": "eip155:4663"
              },
              "amount": {
               "type": "string",
               "description": "atomic units paid"
              },
              "asset": {
               "type": "string",
               "description": "token paid (USDG or $SWOGE)"
              }
             },
             "required": [
              "transaction",
              "network",
              "amount",
              "asset"
             ],
             "description": "paid without a key: the x402 settlement (also in the PAYMENT-RESPONSE header)"
            },
            {
             "type": "object",
             "properties": {
              "x402Version": {
               "type": "integer"
              },
              "resource": {
               "type": "object"
              },
              "accepts": {
               "type": "array",
               "items": {
                "type": "object"
               }
              },
              "extensions": {
               "type": "object"
              }
             },
             "required": [
              "accepts"
             ],
             "description": "in a quote without a key: the x402 requirements of this exact call, payable as they are"
            }
           ]
          },
          "devis": {
           "type": "object",
           "description": "with \"quote\": true: the price of this call — nothing run, nothing charged"
          },
          "quote": {
           "type": "boolean",
           "const": true,
           "description": "set on a quote"
          },
          "tool": {
           "type": "string",
           "description": "on a quote: the tool"
          },
          "priceUsd": {
           "type": "number",
           "description": "on a quote: the price (the maximum for a real-cost tool)"
          },
          "howToPay": {
           "type": "string",
           "description": "on a quote: how to pay for this tool, with or without a key"
          }
         },
         "required": [
          "ok",
          "outil"
         ]
        },
        "example": {
         "ok": true,
         "outil": "roast_token",
         "resultat": {
          "token": {
           "address": "0x254afb9fd36789bea39fb5656ba6fdb827be8dc5",
           "symbol": "LOBSTER",
           "chain": "robinhood"
          },
          "roast": "LOBSTER runs on $8.8k of liquidity and a dream. My protein tub is deeper than this pool, and it has never skipped leg day.",
          "verdict": "caution",
          "writer": "SWOGE AI (Claude Haiku)",
          "facts": {
           "symbol": "LOBSTER",
           "name": "Lobster",
           "chain": "robinhood",
           "priceUsd": 0.000008424,
           "liquidityUsd": 8803.04,
           "marketCapUsd": 8253,
           "poolAgeDays": 1.4,
           "change24hPct": -12.4,
           "verdict": "caution",
           "flags": [
            "caution: pool liquidity $8,803, under the $13,000 the SWOGE AI colony requires to buy"
           ]
          },
          "links": {
           "card": "https://web-production-220a3.up.railway.app/roast/3f2a9c1b7d4e.png",
           "share": "https://web-production-220a3.up.railway.app/rt/3f2a9c1b7d4e"
          },
          "note": "Entertainment built on real data: never a buy or sell signal."
         },
         "texte": "SWOGE roasts $LOBSTER: LOBSTER runs on $8.8k of liquidity and a dream.…",
         "x402": {
          "transaction": "0x8c1f3e2d4b5a69788796a5b4c3d2e1f00f1e2d3c4b5a69788796a5b4c3d2e1f0",
          "network": "eip155:8453",
          "amount": "20000",
          "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"
         }
        }
       }
      }
     },
     "400": {
      "description": "Invalid arguments — nothing is charged"
     },
     "401": {
      "description": "An API key was sent but is unknown or revoked"
     },
     "402": {
      "description": "Payment Required — without a key, the x402 v2 challenge for this exact request (also base64 in the PAYMENT-REQUIRED header); with an API key, the balance or the daily cap is too low",
      "headers": {
       "PAYMENT-REQUIRED": {
        "description": "base64 JSON of the x402 v2 PaymentRequired object",
        "schema": {
         "type": "string"
        }
       }
      },
      "content": {
       "application/json": {
        "schema": {
         "anyOf": [
          {
           "$ref": "#/components/schemas/PaymentRequired"
          },
          {
           "$ref": "#/components/schemas/KeyRefusal"
          }
         ]
        },
        "example": {
         "ok": false,
         "x402Version": 2,
         "error": "PAYMENT-SIGNATURE header is required",
         "resource": {
          "url": "https://web-production-220a3.up.railway.app/agentic/call/roast_token",
          "description": "SwogeAgentic tool roast_token. Price: $0.02 in USDC on Base, or $0.020591 in USDG or $SWOGE on Robinhood Chain (tool price + settlement cost, minimum $0.02).",
          "mimeType": "application/json"
         },
         "accepts": [
          {
           "scheme": "exact",
           "network": "eip155:8453",
           "amount": "20000",
           "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
           "payTo": "0xE81C67c086c83997b41673e1e41e481c14D756F6",
           "maxTimeoutSeconds": 120,
           "extra": {
            "name": "USD Coin",
            "version": "2"
           }
          },
          {
           "scheme": "exact",
           "network": "eip155:4663",
           "amount": "20591",
           "asset": "0x5fc5360D0400a0Fd4f2af552ADD042D716F1d168",
           "payTo": "0xE81C67c086c83997b41673e1e41e481c14D756F6",
           "maxTimeoutSeconds": 120,
           "extra": {
            "assetTransferMethod": "eip3009",
            "name": "Global Dollar",
            "version": "1"
           }
          },
          {
           "scheme": "exact",
           "network": "eip155:4663",
           "amount": "5657320961453478048497",
           "asset": "0x8a166Fb41Cd659a0a43396272FF73973Ce29F817",
           "payTo": "0xE81C67c086c83997b41673e1e41e481c14D756F6",
           "maxTimeoutSeconds": 120,
           "extra": {
            "assetTransferMethod": "permit2",
            "name": "Swole Doge",
            "version": "1"
           }
          }
         ],
         "extensions": {
          "eip2612GasSponsoring": {
           "info": {
            "description": "The server accepts an EIP-2612 permit to the canonical Permit2 contract (value = the exact payment amount) and pays the gas.",
            "version": "1"
           }
          }
         }
        }
       }
      }
     },
     "429": {
      "description": "Too many calls (60 per minute per key) or too many free quotes"
     },
     "502": {
      "description": "The tool or its provider failed — nothing is charged"
     },
     "503": {
      "description": "Unavailable right now (price or provider) — nothing is charged"
     }
    },
    "security": [
     {
      "cleApi": []
     },
     {}
    ],
    "x-payment-info": {
     "protocols": [
      {
       "x402": {}
      }
     ],
     "price": {
      "mode": "dynamic",
      "currency": "USD",
      "min": "0.020000",
      "max": "0.020591"
     }
    }
   }
  },
  "/agentic/call/ask_agent": {
   "post": {
    "operationId": "ask_agent",
    "summary": "Use this when a question needs several of these tools chained together and a written answer, for example comparing tokens or researching a launcher",
    "description": "Use this when a question needs several of these tools chained together and a written answer, for example comparing tokens or researching a launcher. SwogeAgentic, a Claude agent, picks the tools, reads the numbers and answers in Markdown with its sources and sample sizes. API key only: billed at its real cost, up to the quoted maximum (\"quote\": true gives it). Takes 10 to 60 seconds. With an API key: its real cost, up to $1.296 (\"quote\": true gives the maximum for your arguments), billed in $SWOGE at the live price. Without a key (x402): $0.541 now in USDC on Base, $0.545591 on Robinhood Chain, in USDC on Base or USDG or $SWOGE on Robinhood Chain (tool price + settlement cost, minimum $0.02; the payer pays no gas on either network); the 402 quotes the exact amount for your arguments.",
    "tags": [
     "research",
     "crypto"
    ],
    "requestBody": {
     "required": true,
     "content": {
      "application/json": {
       "schema": {
        "type": "object",
        "properties": {
         "arguments": {
          "type": "object",
          "properties": {
           "task": {
            "type": "string",
            "description": "what you want researched, in any language"
           },
           "model": {
            "type": "string",
            "enum": [
             "opus-5-5",
             "fable-5-1",
             "sonnet-5",
             "haiku-4-5"
            ],
            "description": "optional Claude model (default sonnet-5)"
           }
          },
          "required": [
           "task"
          ]
         },
         "quote": {
          "type": "boolean",
          "description": "true: return the price of this call without running or charging it"
         }
        },
        "required": [
         "arguments"
        ]
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "The tool result: `resultat` (data), `texte` (the same, as text for a model) and the receipt — `facture`, `solde`, `recu` with an API key, `x402` without one",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "ok": {
           "type": "boolean",
           "const": true
          },
          "outil": {
           "type": "string",
           "const": "ask_agent"
          },
          "resultat": {
           "type": "object",
           "properties": {
            "answer": {
             "type": "string",
             "description": "Markdown answer"
            },
            "sources": {
             "type": "array",
             "items": {
              "type": "object",
              "properties": {
               "url": {
                "type": "string",
                "description": "source URL"
               },
               "titre": {
                "type": "string",
                "description": "source title"
               }
              },
              "required": [
               "url"
              ]
             }
            },
            "tokens": {
             "type": "array",
             "items": {
              "type": "object",
              "description": "token cards read on the way (same shape as scan_token.token)"
             }
            },
            "steps": {
             "type": "number",
             "description": "model calls used"
            },
            "stoppedByBudget": {
             "type": "boolean",
             "description": "paid per call (x402): true when the spending cap ended the run early"
            }
           },
           "required": [
            "answer",
            "sources",
            "tokens",
            "steps"
           ]
          },
          "texte": {
           "type": "string",
           "description": "the same result as plain text, written for a language model"
          },
          "facture": {
           "type": "object",
           "properties": {
            "swoge": {
             "type": "string",
             "description": "$SWOGE billed, exact decimal string"
            },
            "usd": {
             "type": "number",
             "description": "USD billed"
            },
            "maxSwoge": {
             "type": "string",
             "description": "video: most it can bill"
            },
            "maxUsd": {
             "type": "number"
            },
            "aLArrivee": {
             "type": "boolean",
             "description": "video: billed when it arrives"
            }
           },
           "required": [
            "swoge",
            "usd"
           ],
           "description": "with an API key: what was billed"
          },
          "solde": {
           "type": "string",
           "description": "with an API key: the $SWOGE balance left"
          },
          "recu": {
           "type": "string",
           "description": "with an API key: the receipt id"
          },
          "x402": {
           "anyOf": [
            {
             "type": "object",
             "properties": {
              "transaction": {
               "type": "string",
               "description": "settlement transaction hash"
              },
              "network": {
               "type": "string",
               "description": "eip155:4663"
              },
              "amount": {
               "type": "string",
               "description": "atomic units paid"
              },
              "asset": {
               "type": "string",
               "description": "token paid (USDG or $SWOGE)"
              }
             },
             "required": [
              "transaction",
              "network",
              "amount",
              "asset"
             ],
             "description": "paid without a key: the x402 settlement (also in the PAYMENT-RESPONSE header)"
            },
            {
             "type": "object",
             "properties": {
              "x402Version": {
               "type": "integer"
              },
              "resource": {
               "type": "object"
              },
              "accepts": {
               "type": "array",
               "items": {
                "type": "object"
               }
              },
              "extensions": {
               "type": "object"
              }
             },
             "required": [
              "accepts"
             ],
             "description": "in a quote without a key: the x402 requirements of this exact call, payable as they are"
            }
           ]
          },
          "devis": {
           "type": "object",
           "description": "with \"quote\": true: the price of this call — nothing run, nothing charged"
          },
          "quote": {
           "type": "boolean",
           "const": true,
           "description": "set on a quote"
          },
          "tool": {
           "type": "string",
           "description": "on a quote: the tool"
          },
          "priceUsd": {
           "type": "number",
           "description": "on a quote: the price (the maximum for a real-cost tool)"
          },
          "howToPay": {
           "type": "string",
           "description": "on a quote: how to pay for this tool, with or without a key"
          }
         },
         "required": [
          "ok",
          "outil"
         ]
        },
        "example": {
         "ok": true,
         "outil": "ask_agent",
         "resultat": {
          "answer": "LOBSTER has an $8.8k pool. The colony measured +16.9% on 2,395 tokens whose bytecode shows no mint function [1].",
          "sources": [
           {
            "url": "https://swoleeswoge.dog/swoge_scan.html?t=0x254afb9fd36789bea39fb5656ba6fdb827be8dc5",
            "titre": "SWOGE Scan · $LOBSTER"
           }
          ],
          "tokens": [],
          "steps": 3
         },
         "texte": "{\"answer\":\"LOBSTER has an $8.8k pool. The colony measured +16.9% on 2,395 tokens whose bytecode shows no mint function [1].\",\"sources\":[{\"url\":\"https://swoleesw",
         "x402": {
          "transaction": "0x8c1f3e2d4b5a69788796a5b4c3d2e1f00f1e2d3c4b5a69788796a5b4c3d2e1f0",
          "network": "eip155:8453",
          "amount": "541000",
          "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"
         }
        }
       }
      }
     },
     "400": {
      "description": "Invalid arguments — nothing is charged"
     },
     "401": {
      "description": "An API key was sent but is unknown or revoked"
     },
     "402": {
      "description": "Payment Required — without a key, the x402 v2 challenge for this exact request (also base64 in the PAYMENT-REQUIRED header); with an API key, the balance or the daily cap is too low",
      "headers": {
       "PAYMENT-REQUIRED": {
        "description": "base64 JSON of the x402 v2 PaymentRequired object",
        "schema": {
         "type": "string"
        }
       }
      },
      "content": {
       "application/json": {
        "schema": {
         "anyOf": [
          {
           "$ref": "#/components/schemas/PaymentRequired"
          },
          {
           "$ref": "#/components/schemas/KeyRefusal"
          }
         ]
        },
        "example": {
         "ok": false,
         "x402Version": 2,
         "error": "PAYMENT-SIGNATURE header is required",
         "resource": {
          "url": "https://web-production-220a3.up.railway.app/agentic/call/ask_agent",
          "description": "SwogeAgentic tool ask_agent. Price: $0.541 in USDC on Base, or $0.545591 in USDG or $SWOGE on Robinhood Chain (tool price + settlement cost, minimum $0.02).",
          "mimeType": "application/json"
         },
         "accepts": [
          {
           "scheme": "exact",
           "network": "eip155:8453",
           "amount": "541000",
           "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
           "payTo": "0xE81C67c086c83997b41673e1e41e481c14D756F6",
           "maxTimeoutSeconds": 300,
           "extra": {
            "name": "USD Coin",
            "version": "2"
           }
          },
          {
           "scheme": "exact",
           "network": "eip155:4663",
           "amount": "545591",
           "asset": "0x5fc5360D0400a0Fd4f2af552ADD042D716F1d168",
           "payTo": "0xE81C67c086c83997b41673e1e41e481c14D756F6",
           "maxTimeoutSeconds": 300,
           "extra": {
            "assetTransferMethod": "eip3009",
            "name": "Global Dollar",
            "version": "1"
           }
          },
          {
           "scheme": "exact",
           "network": "eip155:4663",
           "amount": "149899635796239337651059",
           "asset": "0x8a166Fb41Cd659a0a43396272FF73973Ce29F817",
           "payTo": "0xE81C67c086c83997b41673e1e41e481c14D756F6",
           "maxTimeoutSeconds": 300,
           "extra": {
            "assetTransferMethod": "permit2",
            "name": "Swole Doge",
            "version": "1"
           }
          }
         ],
         "extensions": {
          "eip2612GasSponsoring": {
           "info": {
            "description": "The server accepts an EIP-2612 permit to the canonical Permit2 contract (value = the exact payment amount) and pays the gas.",
            "version": "1"
           }
          }
         }
        }
       }
      }
     },
     "429": {
      "description": "Too many calls (60 per minute per key) or too many free quotes"
     },
     "502": {
      "description": "The tool or its provider failed — nothing is charged"
     },
     "503": {
      "description": "Unavailable right now (price or provider) — nothing is charged"
     }
    },
    "security": [
     {
      "cleApi": []
     },
     {}
    ],
    "x-payment-info": {
     "protocols": [
      {
       "x402": {}
      }
     ],
     "price": {
      "mode": "dynamic",
      "currency": "USD",
      "min": "0.541000",
      "max": "0.545591"
     }
    }
   }
  },
  "/agentic/call/generate_image": {
   "post": {
    "operationId": "generate_image",
    "summary": "Use this when you need an image: an illustration, a meme, a post visual, or the SWOGE character (a prompt that names SWOGE is drawn from the official character)",
    "description": "Use this when you need an image: an illustration, a meme, a post visual, or the SWOGE character (a prompt that names SWOGE is drawn from the official character). Made with Grok Imagine (default) or ChatGPT Image, speed or quality, 1, 2 or 4 images. Returns image URLs. With an API key: billed at its real cost, up to the quoted maximum. Without a key (x402): a fixed price for that exact request, quoted in the 402. With an API key: its real cost, up to $0.7037 (\"quote\": true gives the maximum for your arguments), billed in $SWOGE at the live price. Without a key (x402): from $0.091 to $2.329316 now, by request (provider, quality, count), in USDC on Base or USDG or $SWOGE on Robinhood Chain (tool price + settlement cost, minimum $0.02; the payer pays no gas on either network); the 402 quotes the exact amount for your arguments.",
    "tags": [
     "images"
    ],
    "requestBody": {
     "required": true,
     "content": {
      "application/json": {
       "schema": {
        "type": "object",
        "properties": {
         "arguments": {
          "type": "object",
          "properties": {
           "prompt": {
            "type": "string",
            "description": "what to draw, in any language"
           },
           "provider": {
            "type": "string",
            "enum": [
             "grok",
             "openai"
            ],
            "description": "grok (Grok Imagine, default) or openai (ChatGPT Image)"
           },
           "quality": {
            "type": "string",
            "enum": [
             "speed",
             "quality"
            ],
            "description": "speed (cheaper) or quality (default)"
           },
           "aspect_ratio": {
            "type": "string",
            "enum": [
             "auto",
             "1:1",
             "16:9",
             "9:16",
             "4:3",
             "3:4",
             "3:2",
             "2:3"
            ],
            "description": "image shape (default auto)"
           },
           "count": {
            "type": "integer",
            "enum": [
             1,
             2,
             4
            ],
            "description": "how many images (default 1)"
           }
          },
          "required": [
           "prompt"
          ]
         },
         "quote": {
          "type": "boolean",
          "description": "true: return the price of this call without running or charging it"
         }
        },
        "required": [
         "arguments"
        ]
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "The tool result: `resultat` (data), `texte` (the same, as text for a model) and the receipt — `facture`, `solde`, `recu` with an API key, `x402` without one",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "ok": {
           "type": "boolean",
           "const": true
          },
          "outil": {
           "type": "string",
           "const": "generate_image"
          },
          "resultat": {
           "type": "object",
           "properties": {
            "images": {
             "type": "array",
             "items": {
              "type": "string"
             },
             "description": "image URLs"
            },
            "provider": {
             "type": "string",
             "enum": [
              "grok",
              "openai"
             ]
            },
            "understoodAs": {
             "type": [
              "string",
              "null"
             ],
             "description": "the prompt as rewritten, when it was"
            },
            "reference": {
             "type": [
              "string",
              "null"
             ],
             "description": "\"swoge\" when drawn from the official SWOGE character"
            }
           },
           "required": [
            "images",
            "provider",
            "understoodAs",
            "reference"
           ]
          },
          "texte": {
           "type": "string",
           "description": "the same result as plain text, written for a language model"
          },
          "facture": {
           "type": "object",
           "properties": {
            "swoge": {
             "type": "string",
             "description": "$SWOGE billed, exact decimal string"
            },
            "usd": {
             "type": "number",
             "description": "USD billed"
            },
            "maxSwoge": {
             "type": "string",
             "description": "video: most it can bill"
            },
            "maxUsd": {
             "type": "number"
            },
            "aLArrivee": {
             "type": "boolean",
             "description": "video: billed when it arrives"
            }
           },
           "required": [
            "swoge",
            "usd"
           ],
           "description": "with an API key: what was billed"
          },
          "solde": {
           "type": "string",
           "description": "with an API key: the $SWOGE balance left"
          },
          "recu": {
           "type": "string",
           "description": "with an API key: the receipt id"
          },
          "x402": {
           "anyOf": [
            {
             "type": "object",
             "properties": {
              "transaction": {
               "type": "string",
               "description": "settlement transaction hash"
              },
              "network": {
               "type": "string",
               "description": "eip155:4663"
              },
              "amount": {
               "type": "string",
               "description": "atomic units paid"
              },
              "asset": {
               "type": "string",
               "description": "token paid (USDG or $SWOGE)"
              }
             },
             "required": [
              "transaction",
              "network",
              "amount",
              "asset"
             ],
             "description": "paid without a key: the x402 settlement (also in the PAYMENT-RESPONSE header)"
            },
            {
             "type": "object",
             "properties": {
              "x402Version": {
               "type": "integer"
              },
              "resource": {
               "type": "object"
              },
              "accepts": {
               "type": "array",
               "items": {
                "type": "object"
               }
              },
              "extensions": {
               "type": "object"
              }
             },
             "required": [
              "accepts"
             ],
             "description": "in a quote without a key: the x402 requirements of this exact call, payable as they are"
            }
           ]
          },
          "devis": {
           "type": "object",
           "description": "with \"quote\": true: the price of this call — nothing run, nothing charged"
          },
          "quote": {
           "type": "boolean",
           "const": true,
           "description": "set on a quote"
          },
          "tool": {
           "type": "string",
           "description": "on a quote: the tool"
          },
          "priceUsd": {
           "type": "number",
           "description": "on a quote: the price (the maximum for a real-cost tool)"
          },
          "howToPay": {
           "type": "string",
           "description": "on a quote: how to pay for this tool, with or without a key"
          }
         },
         "required": [
          "ok",
          "outil"
         ]
        },
        "example": {
         "ok": true,
         "outil": "generate_image",
         "resultat": {
          "images": [
           "https://web-production-220a3.up.railway.app/studio/media/fichier/3f9c2a7b1e4d8c6a0b5f9e2d7c1a4b8e3f6d0c9a2b5e8f1d.jpg"
          ],
          "provider": "grok",
          "understoodAs": null,
          "reference": null
         },
         "texte": "{\"images\":[\"https://web-production-220a3.up.railway.app/studio/media/fichier/3f9c2a7b1e4d8c6a0b5f9e2d7c1a4b8e3f6d0c9a2b5e8f1d.jpg\"],\"provider\":\"grok\",\"understoo",
         "x402": {
          "transaction": "0x8c1f3e2d4b5a69788796a5b4c3d2e1f00f1e2d3c4b5a69788796a5b4c3d2e1f0",
          "network": "eip155:8453",
          "amount": "91000",
          "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"
         }
        }
       }
      }
     },
     "400": {
      "description": "Invalid arguments — nothing is charged"
     },
     "401": {
      "description": "An API key was sent but is unknown or revoked"
     },
     "402": {
      "description": "Payment Required — without a key, the x402 v2 challenge for this exact request (also base64 in the PAYMENT-REQUIRED header); with an API key, the balance or the daily cap is too low",
      "headers": {
       "PAYMENT-REQUIRED": {
        "description": "base64 JSON of the x402 v2 PaymentRequired object",
        "schema": {
         "type": "string"
        }
       }
      },
      "content": {
       "application/json": {
        "schema": {
         "anyOf": [
          {
           "$ref": "#/components/schemas/PaymentRequired"
          },
          {
           "$ref": "#/components/schemas/KeyRefusal"
          }
         ]
        },
        "example": {
         "ok": false,
         "x402Version": 2,
         "error": "PAYMENT-SIGNATURE header is required",
         "resource": {
          "url": "https://web-production-220a3.up.railway.app/agentic/call/generate_image",
          "description": "SwogeAgentic tool generate_image. Price: $0.091 in USDC on Base, or $2.329316 in USDG or $SWOGE on Robinhood Chain (tool price + settlement cost, minimum $0.02).",
          "mimeType": "application/json"
         },
         "accepts": [
          {
           "scheme": "exact",
           "network": "eip155:8453",
           "amount": "91000",
           "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
           "payTo": "0xE81C67c086c83997b41673e1e41e481c14D756F6",
           "maxTimeoutSeconds": 120,
           "extra": {
            "name": "USD Coin",
            "version": "2"
           }
          },
          {
           "scheme": "exact",
           "network": "eip155:4663",
           "amount": "2329316",
           "asset": "0x5fc5360D0400a0Fd4f2af552ADD042D716F1d168",
           "payTo": "0xE81C67c086c83997b41673e1e41e481c14D756F6",
           "maxTimeoutSeconds": 120,
           "extra": {
            "assetTransferMethod": "eip3009",
            "name": "Global Dollar",
            "version": "1"
           }
          },
          {
           "scheme": "exact",
           "network": "eip155:4663",
           "amount": "639973203469912521541119",
           "asset": "0x8a166Fb41Cd659a0a43396272FF73973Ce29F817",
           "payTo": "0xE81C67c086c83997b41673e1e41e481c14D756F6",
           "maxTimeoutSeconds": 120,
           "extra": {
            "assetTransferMethod": "permit2",
            "name": "Swole Doge",
            "version": "1"
           }
          }
         ],
         "extensions": {
          "eip2612GasSponsoring": {
           "info": {
            "description": "The server accepts an EIP-2612 permit to the canonical Permit2 contract (value = the exact payment amount) and pays the gas.",
            "version": "1"
           }
          }
         }
        }
       }
      }
     },
     "429": {
      "description": "Too many calls (60 per minute per key) or too many free quotes"
     },
     "502": {
      "description": "The tool or its provider failed — nothing is charged"
     },
     "503": {
      "description": "Unavailable right now (price or provider) — nothing is charged"
     }
    },
    "security": [
     {
      "cleApi": []
     },
     {}
    ],
    "x-payment-info": {
     "protocols": [
      {
       "x402": {}
      }
     ],
     "price": {
      "mode": "dynamic",
      "currency": "USD",
      "min": "0.091000",
      "max": "2.329316"
     }
    }
   }
  },
  "/agentic/call/generate_video": {
   "post": {
    "operationId": "generate_video",
    "summary": "Use this when you need a short video clip, 6 or 10 seconds, made with Grok Imagine",
    "description": "Use this when you need a short video clip, 6 or 10 seconds, made with Grok Imagine. Returns a video id at once; poll it with video_status (free) until it is done and gives its URL. API key only: billed at its real cost when the video arrives, up to the quoted maximum, nothing if it fails. With an API key: its real cost, up to $3.6 (\"quote\": true gives the maximum for your arguments), billed in $SWOGE at the live price. API key only (its price is not known before it runs).",
    "tags": [
     "video"
    ],
    "requestBody": {
     "required": true,
     "content": {
      "application/json": {
       "schema": {
        "type": "object",
        "properties": {
         "arguments": {
          "type": "object",
          "properties": {
           "prompt": {
            "type": "string",
            "description": "what happens in the video, in any language"
           },
           "quality": {
            "type": "string",
            "enum": [
             "speed",
             "quality"
            ],
            "description": "speed (default) or quality (Grok Imagine Video 1.5)"
           },
           "duration": {
            "type": "integer",
            "enum": [
             6,
             10
            ],
            "description": "seconds (default 6)"
           },
           "resolution": {
            "type": "string",
            "enum": [
             "480p",
             "720p"
            ],
            "description": "default 480p"
           },
           "aspect_ratio": {
            "type": "string",
            "enum": [
             "auto",
             "16:9",
             "9:16",
             "1:1"
            ],
            "description": "video shape (default auto)"
           }
          },
          "required": [
           "prompt"
          ]
         },
         "quote": {
          "type": "boolean",
          "description": "true: return the price of this call without running or charging it"
         }
        },
        "required": [
         "arguments"
        ]
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "The tool result: `resultat` (data), `texte` (the same, as text for a model) and the receipt — `facture`, `solde`, `recu` with an API key, `x402` without one",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "ok": {
           "type": "boolean",
           "const": true
          },
          "outil": {
           "type": "string",
           "const": "generate_video"
          },
          "resultat": {
           "type": "object",
           "properties": {
            "id": {
             "type": "string",
             "description": "video id (24 hex characters)"
            },
            "status": {
             "type": "string",
             "description": "pending at first"
            },
            "duration": {
             "type": "number",
             "description": "seconds"
            },
            "resolution": {
             "type": "string"
            },
            "poll": {
             "type": "string",
             "description": "always \"video_status\""
            }
           },
           "required": [
            "id",
            "status",
            "poll"
           ]
          },
          "texte": {
           "type": "string",
           "description": "the same result as plain text, written for a language model"
          },
          "facture": {
           "type": "object",
           "properties": {
            "swoge": {
             "type": "string",
             "description": "$SWOGE billed, exact decimal string"
            },
            "usd": {
             "type": "number",
             "description": "USD billed"
            },
            "maxSwoge": {
             "type": "string",
             "description": "video: most it can bill"
            },
            "maxUsd": {
             "type": "number"
            },
            "aLArrivee": {
             "type": "boolean",
             "description": "video: billed when it arrives"
            }
           },
           "required": [
            "swoge",
            "usd"
           ],
           "description": "with an API key: what was billed"
          },
          "solde": {
           "type": "string",
           "description": "with an API key: the $SWOGE balance left"
          },
          "recu": {
           "type": "string",
           "description": "with an API key: the receipt id"
          },
          "x402": {
           "anyOf": [
            {
             "type": "object",
             "properties": {
              "transaction": {
               "type": "string",
               "description": "settlement transaction hash"
              },
              "network": {
               "type": "string",
               "description": "eip155:4663"
              },
              "amount": {
               "type": "string",
               "description": "atomic units paid"
              },
              "asset": {
               "type": "string",
               "description": "token paid (USDG or $SWOGE)"
              }
             },
             "required": [
              "transaction",
              "network",
              "amount",
              "asset"
             ],
             "description": "paid without a key: the x402 settlement (also in the PAYMENT-RESPONSE header)"
            },
            {
             "type": "object",
             "properties": {
              "x402Version": {
               "type": "integer"
              },
              "resource": {
               "type": "object"
              },
              "accepts": {
               "type": "array",
               "items": {
                "type": "object"
               }
              },
              "extensions": {
               "type": "object"
              }
             },
             "required": [
              "accepts"
             ],
             "description": "in a quote without a key: the x402 requirements of this exact call, payable as they are"
            }
           ]
          },
          "devis": {
           "type": "object",
           "description": "with \"quote\": true: the price of this call — nothing run, nothing charged"
          },
          "quote": {
           "type": "boolean",
           "const": true,
           "description": "set on a quote"
          },
          "tool": {
           "type": "string",
           "description": "on a quote: the tool"
          },
          "priceUsd": {
           "type": "number",
           "description": "on a quote: the price (the maximum for a real-cost tool)"
          },
          "howToPay": {
           "type": "string",
           "description": "on a quote: how to pay for this tool, with or without a key"
          }
         },
         "required": [
          "ok",
          "outil"
         ]
        },
        "example": {
         "ok": true,
         "outil": "generate_video",
         "resultat": {
          "id": "66f5b1c2d3e4f5a6b7c8d9e0",
          "status": "pending",
          "duration": 6,
          "resolution": "480p",
          "poll": "video_status"
         },
         "texte": "{\"id\":\"66f5b1c2d3e4f5a6b7c8d9e0\",\"status\":\"pending\",\"duration\":6,\"resolution\":\"480p\",\"poll\":\"video_status\"}",
         "facture": {
          "swoge": "51606.49",
          "usd": 1.2888
         },
         "solde": "248393.51",
         "recu": "9f3c2a7b1e4d8c6a"
        }
       }
      }
     },
     "400": {
      "description": "Invalid arguments — nothing is charged"
     },
     "401": {
      "description": "No API key (the answer says how to get one) or an unknown or revoked key"
     },
     "402": {
      "description": "The balance or the key's daily cap is too low",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/KeyRefusal"
        },
        "example": {
         "ok": false,
         "raison": "this key's daily cap does not leave room for this task (up to 51606.49 $SWOGE)"
        }
       }
      }
     },
     "429": {
      "description": "Too many calls (60 per minute per key) or too many free quotes"
     },
     "502": {
      "description": "The tool or its provider failed — nothing is charged"
     },
     "503": {
      "description": "Unavailable right now (price or provider) — nothing is charged"
     }
    },
    "security": [
     {
      "cleApi": []
     },
     {
      "cleEnTete": []
     }
    ]
   }
  },
  "/agentic/call/video_status": {
   "post": {
    "operationId": "video_status",
    "summary": "Use this when you started a video with generate_video and want to know whether it is ready",
    "description": "Use this when you started a video with generate_video and want to know whether it is ready. Returns pending, done with its URL, or failed and not charged, plus what was billed. Free. Free with an API key (it reads your own video). API key only (it reads the video of that key).",
    "tags": [
     "video"
    ],
    "requestBody": {
     "required": true,
     "content": {
      "application/json": {
       "schema": {
        "type": "object",
        "properties": {
         "arguments": {
          "type": "object",
          "properties": {
           "id": {
            "type": "string",
            "description": "the id returned by generate_video"
           }
          },
          "required": [
           "id"
          ]
         },
         "quote": {
          "type": "boolean",
          "description": "true: return the price of this call without running or charging it"
         }
        },
        "required": [
         "arguments"
        ]
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "The tool result: `resultat` (data), `texte` (the same, as text for a model) and the receipt — `facture`, `solde`, `recu` with an API key, `x402` without one",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "ok": {
           "type": "boolean",
           "const": true
          },
          "outil": {
           "type": "string",
           "const": "video_status"
          },
          "resultat": {
           "type": "object",
           "properties": {
            "id": {
             "type": "string"
            },
            "status": {
             "type": "string",
             "description": "pending, done or failed"
            },
            "progress": {
             "type": [
              "number",
              "null"
             ],
             "description": "0 to 100"
            },
            "url": {
             "type": [
              "string",
              "null"
             ],
             "description": "when done"
            },
            "duration": {
             "type": [
              "number",
              "null"
             ]
            },
            "resolution": {
             "type": [
              "string",
              "null"
             ]
            },
            "billedSwoge": {
             "type": [
              "string",
              "null"
             ],
             "description": "what was billed, $SWOGE"
            },
            "billedUsd": {
             "type": [
              "number",
              "null"
             ],
             "description": "what was billed, USD"
            },
            "reason": {
             "type": [
              "string",
              "null"
             ],
             "description": "why it failed"
            }
           },
           "required": [
            "id",
            "status"
           ]
          },
          "texte": {
           "type": "string",
           "description": "the same result as plain text, written for a language model"
          },
          "facture": {
           "type": "object",
           "properties": {
            "swoge": {
             "type": "string",
             "description": "$SWOGE billed, exact decimal string"
            },
            "usd": {
             "type": "number",
             "description": "USD billed"
            },
            "maxSwoge": {
             "type": "string",
             "description": "video: most it can bill"
            },
            "maxUsd": {
             "type": "number"
            },
            "aLArrivee": {
             "type": "boolean",
             "description": "video: billed when it arrives"
            }
           },
           "required": [
            "swoge",
            "usd"
           ],
           "description": "with an API key: what was billed"
          },
          "solde": {
           "type": "string",
           "description": "with an API key: the $SWOGE balance left"
          },
          "recu": {
           "type": "string",
           "description": "with an API key: the receipt id"
          },
          "x402": {
           "anyOf": [
            {
             "type": "object",
             "properties": {
              "transaction": {
               "type": "string",
               "description": "settlement transaction hash"
              },
              "network": {
               "type": "string",
               "description": "eip155:4663"
              },
              "amount": {
               "type": "string",
               "description": "atomic units paid"
              },
              "asset": {
               "type": "string",
               "description": "token paid (USDG or $SWOGE)"
              }
             },
             "required": [
              "transaction",
              "network",
              "amount",
              "asset"
             ],
             "description": "paid without a key: the x402 settlement (also in the PAYMENT-RESPONSE header)"
            },
            {
             "type": "object",
             "properties": {
              "x402Version": {
               "type": "integer"
              },
              "resource": {
               "type": "object"
              },
              "accepts": {
               "type": "array",
               "items": {
                "type": "object"
               }
              },
              "extensions": {
               "type": "object"
              }
             },
             "required": [
              "accepts"
             ],
             "description": "in a quote without a key: the x402 requirements of this exact call, payable as they are"
            }
           ]
          },
          "devis": {
           "type": "object",
           "description": "with \"quote\": true: the price of this call — nothing run, nothing charged"
          },
          "quote": {
           "type": "boolean",
           "const": true,
           "description": "set on a quote"
          },
          "tool": {
           "type": "string",
           "description": "on a quote: the tool"
          },
          "priceUsd": {
           "type": "number",
           "description": "on a quote: the price (the maximum for a real-cost tool)"
          },
          "howToPay": {
           "type": "string",
           "description": "on a quote: how to pay for this tool, with or without a key"
          }
         },
         "required": [
          "ok",
          "outil"
         ]
        },
        "example": {
         "ok": true,
         "outil": "video_status",
         "resultat": {
          "id": "66f5b1c2d3e4f5a6b7c8d9e0",
          "status": "done",
          "progress": 100,
          "url": "https://web-production-220a3.up.railway.app/studio/media/fichier/9a8b7c6d5e4f3a2b1c0d9e8f7a6b5c4d3e2f1a0b9c8d7e6f.mp4",
          "duration": 6,
          "resolution": "480p",
          "billedSwoge": "9621.43",
          "billedUsd": 0.24,
          "reason": null
         },
         "texte": "{\"id\":\"66f5b1c2d3e4f5a6b7c8d9e0\",\"status\":\"done\",\"progress\":100,\"url\":\"https://web-production-220a3.up.railway.app/studio/media/fichier/9a8b7c6d5e4f3a2b1c0d9e8f",
         "facture": {
          "swoge": "51606.49",
          "usd": 1.2888
         },
         "solde": "248393.51",
         "recu": "9f3c2a7b1e4d8c6a"
        }
       }
      }
     },
     "400": {
      "description": "Invalid arguments — nothing is charged"
     },
     "401": {
      "description": "No API key (the answer says how to get one) or an unknown or revoked key"
     },
     "402": {
      "description": "The balance or the key's daily cap is too low",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/KeyRefusal"
        },
        "example": {
         "ok": false,
         "raison": "this key's daily cap does not leave room for this task (up to 51606.49 $SWOGE)"
        }
       }
      }
     },
     "429": {
      "description": "Too many calls (60 per minute per key) or too many free quotes"
     },
     "502": {
      "description": "The tool or its provider failed — nothing is charged"
     },
     "503": {
      "description": "Unavailable right now (price or provider) — nothing is charged"
     }
    },
    "security": [
     {
      "cleApi": []
     },
     {
      "cleEnTete": []
     }
    ]
   }
  },
  "/agentic/tools": {
   "get": {
    "operationId": "listTools",
    "summary": "The live tool catalogue: names, input schemas, prices",
    "tags": [
     "catalogue"
    ],
    "responses": {
     "200": {
      "description": "The catalogue",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "ok": {
           "type": "boolean"
          },
          "monnaie": {
           "type": "string",
           "description": "\"$SWOGE\""
          },
          "coursUsd": {
           "type": [
            "number",
            "null"
           ],
           "description": "$SWOGE price, USD"
          },
          "outils": {
           "type": "array",
           "items": {
            "type": "object",
            "properties": {
             "name": {
              "type": "string"
             },
             "description": {
              "type": "string"
             },
             "inputSchema": {
              "type": "object"
             },
             "prix": {
              "type": "object",
              "description": "{usd, swoge}, {variable, maxUsd, maxSwoge, note} or {gratuit: true}"
             }
            },
            "required": [
             "name",
             "description",
             "inputSchema"
            ]
           }
          },
          "x402": {
           "type": "object",
           "description": "public x402 state (actif false when off)"
          }
         },
         "required": [
          "ok",
          "outils"
         ]
        }
       }
      }
     }
    },
    "security": []
   }
  },
  "/agentic/x402": {
   "get": {
    "operationId": "x402Status",
    "summary": "x402 status: networks, assets, prices now, what was collected",
    "tags": [
     "catalogue"
    ],
    "responses": {
     "200": {
      "description": "Public status (never a key)",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "ok": {
           "type": "boolean"
          },
          "actif": {
           "type": "boolean"
          },
          "network": {
           "type": "string"
          },
          "payTo": {
           "type": "string"
          },
          "assets": {
           "type": "array",
           "items": {
            "type": "object"
           }
          },
          "outils": {
           "type": "array",
           "items": {
            "type": "object",
            "description": "{name, usd, gazUsd, amount, amountUsdg}"
           }
          }
         },
         "required": [
          "ok",
          "actif"
         ]
        }
       }
      }
     }
    },
    "security": []
   }
  },
  "/esim/plans": {
   "get": {
    "operationId": "esimPlans",
    "summary": "Use this when you need mobile data abroad: travel data eSIM plans for a country or region, with their price",
    "tags": [
     "esim"
    ],
    "description": "Free: nothing is paid. Returns data-only eSIM plans (no phone number) for a country (name or 2-letter code) or a region (Europe, Asia, Middle East, South America, North America, Global), including the regional plans that cover the country, cheapest per GB first, each with its price in USD paid in USDC. At most 20 searches per 10 minutes per IP. Seller: CHIPS.",
    "parameters": [
     {
      "name": "country",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "maxLength": 40
      },
      "description": "e.g. France, JP, Europe"
     },
     {
      "name": "min_gb",
      "in": "query",
      "required": false,
      "schema": {
       "type": "number"
      }
     },
     {
      "name": "min_days",
      "in": "query",
      "required": false,
      "schema": {
       "type": "integer"
      }
     },
     {
      "name": "max_usd",
      "in": "query",
      "required": false,
      "description": "only plans at or under this price (USD, the price you pay)",
      "schema": {
       "type": "number"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "The plans",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "ok": {
           "type": "boolean"
          },
          "destination": {
           "type": "string"
          },
          "plans": {
           "type": "array",
           "items": {
            "type": "object",
            "properties": {
             "plan": {
              "type": "string",
              "description": "plan id: pass it to /esim/buy"
             },
             "name": {
              "type": "string"
             },
             "covers": {
              "type": [
               "string",
               "null"
              ],
              "description": "the country, or the region that contains it"
             },
             "gb": {
              "type": [
               "number",
               "null"
              ]
             },
             "days": {
              "type": [
               "number",
               "null"
              ]
             },
             "priceUsd": {
              "type": "number",
              "description": "USD, paid in USDC"
             }
            },
            "required": [
             "plan",
             "name",
             "priceUsd"
            ]
           }
          },
          "unavailable": {
           "type": "number",
           "description": "plans the shop cannot sell right now"
          },
          "terms": {
           "type": "string"
          },
          "compatibility": {
           "type": "string",
           "description": "check the device supports eSIM"
          },
          "note": {
           "type": "string"
          }
         },
         "required": [
          "ok",
          "plans"
         ]
        },
        "example": {
         "ok": true,
         "destination": "France",
         "otherDestinations": [],
         "unavailable": 0,
         "plans": [
          {
           "plan": "europe-33-areas-1gb-7days-example",
           "name": "Europe 1GB 7 Days",
           "covers": "Region of 33 countries (Austria, Belgium, Bulgaria…)",
           "gb": 1,
           "days": 7,
           "priceUsd": 1.6
          }
         ],
         "terms": "https://vamoschips.com/legal/terms",
         "compatibility": "https://vamoschips.com/compatibility",
         "note": "Data only (no phone number). Paid in USDC from your wallet on Base or Solana; you are charged only if the eSIM is bought."
        }
       }
      }
     },
     "400": {
      "description": "Refused - nothing is charged",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "ok": {
           "type": "boolean",
           "const": false
          },
          "raison": {
           "type": "string",
           "description": "what went wrong"
          }
         },
         "required": [
          "ok",
          "raison"
         ]
        }
       }
      }
     },
     "429": {
      "description": "Too many searches"
     }
    },
    "security": []
   }
  },
  "/esim/buy": {
   "post": {
    "operationId": "esimBuy",
    "summary": "Use this to buy a travel data eSIM chosen with /esim/plans, paid per purchase in USDC with x402 (Base or Solana), no account",
    "tags": [
     "esim"
    ],
    "description": "POST {\"plan\": \"<plan id from /esim/plans>\"} without payment: 402 with PAYMENT-REQUIRED (x402 v2, scheme exact, USDC on Base or Solana, the plan price). Sign and retry with PAYMENT-SIGNATURE and the SAME plan. The server verifies the payment, buys the eSIM, and only then settles it: an eSIM that could not be bought is never charged. Returns the activation (LPA code, SM-DP+ address, activation code) and orderLink, a secret: GET /esim/order/<orderLink> returns the activation again (no account). Limits: 15 $ per purchase, 30 $ per payer per day.",
    "requestBody": {
     "required": true,
     "content": {
      "application/json": {
       "schema": {
        "type": "object",
        "properties": {
         "plan": {
          "type": "string",
          "description": "plan id from /esim/plans"
         }
        },
        "required": [
         "plan"
        ]
       },
       "example": {
        "plan": "europe-33-areas-1gb-7days-example"
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "Bought: activation and orderLink",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "ok": {
           "type": "boolean"
          },
          "delivered": {
           "type": "boolean",
           "description": "false: being prepared, poll /esim/order"
          },
          "orderLink": {
           "type": "string",
           "description": "secret, 32 hex"
          },
          "achat": {
           "type": "object",
           "description": "name, gb, days, activation {uri, code, smdp, iccid4} or null while prepared"
          }
         },
         "required": [
          "ok",
          "orderLink"
         ]
        }
       }
      }
     },
     "400": {
      "description": "Refused - nothing is charged",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "ok": {
           "type": "boolean",
           "const": false
          },
          "raison": {
           "type": "string",
           "description": "what went wrong"
          }
         },
         "required": [
          "ok",
          "raison"
         ]
        }
       }
      }
     },
     "402": {
      "description": "Payment Required: the x402 v2 challenge for this plan (also in the PAYMENT-REQUIRED header)",
      "headers": {
       "PAYMENT-REQUIRED": {
        "description": "base64 JSON of the x402 v2 PaymentRequired object",
        "schema": {
         "type": "string"
        }
       }
      }
     },
     "409": {
      "description": "No current price for this plan: search /esim/plans again"
     },
     "502": {
      "description": "The eSIM could not be bought - nothing is charged"
     },
     "503": {
      "description": "The shop is closed right now"
     }
    },
    "x-payment-info": {
     "protocols": [
      {
       "x402": {}
      }
     ],
     "price": {
      "mode": "dynamic",
      "currency": "USD",
      "min": "0.500000",
      "max": "18.750000"
     }
    },
    "security": []
   }
  },
  "/esim/order/{orderLink}": {
   "get": {
    "operationId": "esimOrder",
    "summary": "The activation of an eSIM bought with /esim/buy, by its secret order link",
    "tags": [
     "esim"
    ],
    "parameters": [
     {
      "name": "orderLink",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string",
       "pattern": "^[0-9a-f]{32}$"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "Ready: the activation"
     },
     "202": {
      "description": "Paid, being prepared: try again in a minute"
     },
     "404": {
      "description": "Unknown order link"
     }
    },
    "security": []
   }
  },
  "/agentic/pay": {
   "post": {
    "operationId": "payService",
    "summary": "Use this when your agent must pay another x402 service: SWOGE pays it for you, within the limits the key owner set",
    "tags": [
     "payments"
    ],
    "description": "With your API key and an Idempotency-Key header. The key owner first turns payments on for that key (per-call cap up to $0.10, optional allowed sites) on the SwogeAgentic page: off by default. Only services of the public x402 catalogue, public https addresses, no redirects; the price in the 402 must fit the per-call cap (and max_usd if sent) and the key's daily cap. Paid only if the service answers 200; the owner is billed from their dollar credit (a key set to pay by credit) or in $SWOGE. The same Idempotency-Key never pays twice. Every attempt writes a hash-chained audit line: GET /agentic/audit.",
    "parameters": [
     {
      "name": "Idempotency-Key",
      "in": "header",
      "required": true,
      "schema": {
       "type": "string",
       "minLength": 8,
       "maxLength": 100
      }
     }
    ],
    "requestBody": {
     "required": true,
     "content": {
      "application/json": {
       "schema": {
        "type": "object",
        "properties": {
         "url": {
          "type": "string",
          "description": "https URL of the paid service"
         },
         "method": {
          "type": "string",
          "description": "GET or POST"
         },
         "query": {
          "type": "object"
         },
         "body": {
          "type": "object"
         },
         "max_usd": {
          "type": "number",
          "description": "optional: a lower cap for this call"
         }
        },
        "required": [
         "url"
        ]
       },
       "example": {
        "url": "https://x402factory.ai/solana/coinprice",
        "query": {
         "symbol": "SOL"
        },
        "max_usd": 0.01
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "Paid (or free): the service answer, the receipt and the audit line",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "ok": {
           "type": "boolean"
          },
          "resultat": {
           "description": "the service answer"
          },
          "recu": {
           "type": "object",
           "description": "url, usd, factureUsd, reseau, tx"
          },
          "audit": {
           "type": "object",
           "description": "seq and h (SHA-256) of the audit line"
          },
          "rejoue": {
           "type": "boolean",
           "description": "true: this Idempotency-Key was already used, original answer"
          }
         },
         "required": [
          "ok"
         ]
        }
       }
      }
     },
     "400": {
      "description": "Bad request or missing Idempotency-Key - nothing is charged"
     },
     "401": {
      "description": "No key, or unknown or revoked key"
     },
     "402": {
      "description": "Refused before or after the call - nothing is charged"
     },
     "403": {
      "description": "Payments are off for this key, or the site is not allowed"
     },
     "409": {
      "description": "A payment with this Idempotency-Key is still running"
     }
    },
    "security": [
     {
      "cleApi": []
     },
     {
      "cleEnTete": []
     }
    ]
   }
  },
  "/credit": {
   "get": {
    "operationId": "credit",
    "summary": "Use this to read the dollar credit that pays your API key (when its owner set it to pay by credit)",
    "tags": [
     "payments"
    ],
    "description": "With your API key (or a signed-in session): the balance in USD, the last top-ups and spends, the top-up limits. Free.",
    "responses": {
     "200": {
      "description": "The credit",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "ok": {
           "type": "boolean"
          },
          "balanceUsd": {
           "type": "number",
           "description": "USD"
          },
          "history": {
           "type": "array",
           "items": {
            "type": "object"
           }
          },
          "limits": {
           "type": "object"
          }
         },
         "required": [
          "ok",
          "balanceUsd"
         ]
        }
       }
      }
     },
     "401": {
      "description": "No key, or unknown or revoked key"
     }
    },
    "security": [
     {
      "cleApi": []
     },
     {
      "cleEnTete": []
     }
    ]
   }
  },
  "/credit/topup": {
   "post": {
    "operationId": "creditTopup",
    "summary": "Use this to top up the dollar credit of your key owner with one x402 payment (USDC on Base or Solana)",
    "tags": [
     "payments"
    ],
    "description": "With your API key. Send {\"usd\": 5} without payment: the 402 PAYMENT-REQUIRED header says what to sign; retry the same request with PAYMENT-SIGNATURE. Credited to the key owner once the payment settles, once per transaction. $0.10 to $50 per top-up, not withdrawable. Money only goes in: a key cannot spend the credit beyond its daily cap.",
    "requestBody": {
     "required": true,
     "content": {
      "application/json": {
       "schema": {
        "type": "object",
        "properties": {
         "usd": {
          "type": "number",
          "description": "0.10 to 50"
         }
        },
        "required": [
         "usd"
        ]
       },
       "example": {
        "usd": 5
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "Credited",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "ok": {
           "type": "boolean"
          },
          "creditedUsd": {
           "type": "number"
          },
          "balanceUsd": {
           "type": "number"
          },
          "alreadyCredited": {
           "type": "boolean"
          }
         },
         "required": [
          "ok"
         ]
        }
       }
      }
     },
     "400": {
      "description": "Amount out of bounds"
     },
     "401": {
      "description": "No key, or unknown or revoked key"
     },
     "402": {
      "description": "Payment required (PAYMENT-REQUIRED header), or refused"
     }
    },
    "security": [
     {
      "cleApi": []
     },
     {
      "cleEnTete": []
     }
    ]
   }
  },
  "/agentic/passport": {
   "get": {
    "operationId": "myPassport",
    "summary": "Use this to prove who your agent is to another agent: your API key's passport, signed by SWOGE",
    "tags": [
     "payments"
    ],
    "description": "With your API key. Returns { passport, signature }: the agent id, its owner wallet, what it pays from, its daily cap, its permissions and its measured history (calls, gateway payments, audit chain head), signed in Ed25519 over the canonical JSON. Anyone verifies it with the public key at /.well-known/swoge-passport.json, without trusting SWOGE. A snapshot: it expires 24 hours after issuedAt.",
    "responses": {
     "200": {
      "description": "The signed passport",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "ok": {
           "type": "boolean"
          },
          "passport": {
           "type": "object"
          },
          "signature": {
           "type": "object",
           "properties": {
            "alg": {
             "type": "string"
            },
            "keyId": {
             "type": "string"
            },
            "value": {
             "type": "string",
             "description": "base64url"
            }
           },
           "required": []
          }
         },
         "required": [
          "ok",
          "passport",
          "signature"
         ]
        }
       }
      }
     },
     "401": {
      "description": "No key, or unknown or revoked key"
     }
    },
    "security": [
     {
      "cleApi": []
     },
     {
      "cleEnTete": []
     }
    ]
   }
  },
  "/agentic/passport/{id}": {
   "get": {
    "operationId": "passport",
    "summary": "Use this to check another agent before paying it or being paid by it: its public passport, signed by SWOGE",
    "tags": [
     "payments"
    ],
    "description": "Public only if the key owner published it; otherwise 404, the same answer as an unknown id.",
    "parameters": [
     {
      "name": "id",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string",
       "pattern": "^[0-9a-f]{12}$"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "The signed passport"
     },
     "404": {
      "description": "No public passport with this id"
     }
    },
    "security": []
   }
  },
  "/agentic/passport/verify": {
   "post": {
    "operationId": "verifyPassport",
    "summary": "Use this to verify a signed SWOGE agent passport (or verify it yourself with the public key)",
    "tags": [
     "payments"
    ],
    "requestBody": {
     "required": true,
     "content": {
      "application/json": {
       "schema": {
        "type": "object",
        "properties": {
         "passport": {
          "type": "object"
         },
         "signature": {
          "type": "object"
         }
        },
        "required": [
         "passport",
         "signature"
        ]
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "{ ok, expired, agent } or { ok: false, raison }"
     }
    },
    "security": []
   }
  },
  "/agentic/services": {
   "get": {
    "operationId": "searchServices",
    "summary": "Use this to find a paid x402 service that actually answers: the public catalogue with what SWOGE measured without paying",
    "tags": [
     "payments"
    ],
    "description": "Free, no key, 30 searches per 10 minutes per IP. Each service: price, networks, probes (n, share answered, median latency, last failure) and real paid calls through SWOGE. No verdict under 3 probes.",
    "parameters": [
     {
      "name": "q",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "limit",
      "in": "query",
      "required": false,
      "schema": {
       "type": "integer",
       "minimum": 1,
       "maximum": 50
      }
     }
    ],
    "responses": {
     "200": {
      "description": "Services, best measured first",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "ok": {
           "type": "boolean"
          },
          "services": {
           "type": "array",
           "items": {
            "type": "object"
           }
          },
          "summary": {
           "type": "object"
          },
          "note": {
           "type": "string"
          }
         },
         "required": [
          "ok",
          "services"
         ]
        }
       }
      }
     },
     "429": {
      "description": "Too many searches"
     }
    },
    "security": []
   }
  },
  "/agentic/audit": {
   "get": {
    "operationId": "audit",
    "summary": "The hash-chained audit of the payments made with your key (or all your keys, signed in)",
    "tags": [
     "payments"
    ],
    "responses": {
     "200": {
      "description": "Lines, newest first, and the state of the whole chain",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "ok": {
           "type": "boolean"
          },
          "lignes": {
           "type": "array",
           "items": {
            "type": "object"
           }
          },
          "chaine": {
           "type": "object",
           "properties": {
            "ok": {
             "type": "boolean"
            },
            "lignes": {
             "type": "number"
            },
            "casseA": {
             "type": [
              "number",
              "null"
             ],
             "description": "seq of the first broken line"
            }
           },
           "required": [
            "ok"
           ]
          }
         },
         "required": [
          "ok",
          "lignes",
          "chaine"
         ]
        }
       }
      }
     },
     "401": {
      "description": "No key"
     }
    },
    "security": [
     {
      "cleApi": []
     },
     {
      "cleEnTete": []
     }
    ]
   }
  }
 },
 "components": {
  "schemas": {
   "PaymentRequired": {
    "type": "object",
    "properties": {
     "ok": {
      "type": "boolean",
      "const": false
     },
     "x402Version": {
      "type": "integer",
      "const": 2
     },
     "error": {
      "type": "string"
     },
     "resource": {
      "type": "object",
      "properties": {
       "url": {
        "type": "string"
       },
       "description": {
        "type": "string",
        "description": "price in dollars, what it covers"
       },
       "mimeType": {
        "type": "string"
       }
      },
      "required": [
       "url"
      ]
     },
     "accepts": {
      "type": "array",
      "items": {
       "type": "object",
       "properties": {
        "scheme": {
         "type": "string",
         "const": "exact"
        },
        "network": {
         "type": "string",
         "description": "eip155:8453 (Base) or eip155:4663 (Robinhood Chain)"
        },
        "amount": {
         "type": "string",
         "description": "atomic units of the asset (USDC and USDG: 6 decimals, $SWOGE: 18)"
        },
        "asset": {
         "type": "string"
        },
        "payTo": {
         "type": "string"
        },
        "maxTimeoutSeconds": {
         "type": "number"
        },
        "extra": {
         "type": "object",
         "properties": {
          "assetTransferMethod": {
           "type": "string",
           "enum": [
            "eip3009",
            "permit2"
           ]
          },
          "name": {
           "type": "string",
           "description": "EIP-712 domain name"
          },
          "version": {
           "type": "string",
           "description": "EIP-712 domain version"
          }
         },
         "required": []
        }
       },
       "required": [
        "scheme",
        "network",
        "amount",
        "asset",
        "payTo"
       ]
      },
      "description": "USDC on Base first when it is on (settled by Coinbase, no assetTransferMethod), then USDG (EIP-3009), then $SWOGE (Permit2) on Robinhood Chain"
     },
     "extensions": {
      "type": "object",
      "description": "eip2612GasSponsoring: the server takes an EIP-2612 permit to Permit2 and pays the gas. bazaar: the input and output schemas of this tool, with a fixed example request (x402 bazaar extension)"
     },
     "raison": {
      "type": "string",
      "description": "why a payment was refused"
     },
     "detail": {
      "type": [
       "string",
       "null"
      ]
     }
    },
    "required": [
     "x402Version",
     "accepts"
    ]
   },
   "KeyRefusal": {
    "type": "object",
    "properties": {
     "ok": {
      "type": "boolean",
      "const": false
     },
     "raison": {
      "type": "string",
      "description": "what to do"
     },
     "requisSwoge": {
      "type": "string",
      "description": "$SWOGE needed"
     }
    },
    "required": [
     "ok",
     "raison"
    ]
   }
  },
  "securitySchemes": {
   "cleApi": {
    "type": "http",
    "scheme": "bearer",
    "description": "SwogeAgentic API key (swg_…), as Authorization: Bearer"
   },
   "cleEnTete": {
    "type": "apiKey",
    "in": "header",
    "name": "X-API-Key",
    "description": "The same SwogeAgentic API key (swg_…), in X-API-Key"
   }
  }
 },
 "x-agentcash-guidance": {
  "llmsTxtUrl": "https://web-production-220a3.up.railway.app/llms.txt"
 },
 "externalDocs": {
  "url": "https://swoleeswoge.dog/swogeagentic_api.html"
 }
}