{
  "name": "402x Agent Services",
  "description": "Paid on-chain intel and agent payment APIs. USDC on Base via HTTP 402. 777 SKUs.",
  "url": "https://api.genesistokenlabs.com",
  "version": "1.0",
  "protocolVersion": "0.2",
  "provider": {
    "organization": "Genesis Token Labs",
    "url": "https://genesistokenlabs.com"
  },
  "capabilities": {
    "streaming": false,
    "pushNotifications": false,
    "x402": true
  },
  "defaultInputModes": [
    "application/json"
  ],
  "defaultOutputModes": [
    "application/json"
  ],
  "skills": [
    {
      "id": "signals-arbitrage",
      "name": "Arbitrage signal",
      "description": "Cross-venue arbitrage signal. Paid per call via HTTP 402.",
      "tags": [
        "x402",
        "trading",
        "arbitrage"
      ],
      "inputSchema": {
        "type": "object",
        "description": "Cross-venue bid/ask snapshot used to compute an arbitrage signal.",
        "properties": {
          "venues": {
            "type": "array",
            "description": "At least two venues with venue, bid, ask.",
            "items": {
              "type": "object",
              "properties": {
                "venue": {
                  "type": "string",
                  "description": "Venue name (e.g. uniswap)"
                },
                "bid": {
                  "type": "number",
                  "description": "Best bid"
                },
                "ask": {
                  "type": "number",
                  "description": "Best ask"
                }
              },
              "required": [
                "venue",
                "bid",
                "ask"
              ]
            }
          },
          "feePct": {
            "type": "number",
            "description": "Round-trip fee percent per side (default 0.3)"
          }
        },
        "required": [
          "venues"
        ]
      },
      "outputSchema": {
        "type": "object",
        "description": "Arbitrage opportunity and recommended buy/sell venues.",
        "properties": {
          "service": {
            "type": "string"
          },
          "result": {
            "type": "object",
            "properties": {
              "opportunity": {
                "type": "boolean"
              },
              "buyVenue": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "sellVenue": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "buyPrice": {
                "type": "number"
              },
              "sellPrice": {
                "type": "number"
              },
              "grossSpreadPct": {
                "type": "number"
              },
              "netProfitPct": {
                "type": "number"
              },
              "feePct": {
                "type": "number"
              },
              "recommendation": {
                "type": "string"
              }
            }
          }
        }
      },
      "examples": [
        "POST https://api.genesistokenlabs.com/signals/arbitrage"
      ],
      "price": "50000"
    },
    {
      "id": "signals-grid",
      "name": "Grid signal",
      "description": "Grid-trading order plan. Paid per call via HTTP 402.",
      "tags": [
        "x402",
        "trading",
        "grid"
      ],
      "inputSchema": {
        "type": "object",
        "description": "Grid bounds, level count, and quote capital.",
        "properties": {
          "lower": {
            "type": "number",
            "description": "Grid lower price"
          },
          "upper": {
            "type": "number",
            "description": "Grid upper price"
          },
          "levels": {
            "type": "integer",
            "description": "Number of grid levels (2-200)"
          },
          "capitalQuote": {
            "type": "number",
            "description": "Quote-currency capital to distribute"
          }
        },
        "required": [
          "lower",
          "upper",
          "levels",
          "capitalQuote"
        ]
      },
      "outputSchema": {
        "type": "object",
        "description": "Symmetric buy/sell grid plan.",
        "properties": {
          "service": {
            "type": "string"
          },
          "result": {
            "type": "object",
            "properties": {
              "lower": {
                "type": "number"
              },
              "upper": {
                "type": "number"
              },
              "levels": {
                "type": "integer"
              },
              "midPrice": {
                "type": "number"
              },
              "perLevelQuote": {
                "type": "number"
              },
              "grid": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "price": {
                      "type": "number"
                    },
                    "side": {
                      "type": "string",
                      "enum": [
                        "buy",
                        "sell"
                      ]
                    },
                    "sizeQuote": {
                      "type": "number"
                    }
                  }
                }
              }
            }
          }
        }
      },
      "examples": [
        "POST https://api.genesistokenlabs.com/signals/grid"
      ],
      "price": "20000"
    },
    {
      "id": "signals-market-making",
      "name": "Market-making quotes",
      "description": "Inventory-skewed bid/ask quotes. Paid per call via HTTP 402.",
      "tags": [
        "x402",
        "trading",
        "market-making"
      ],
      "inputSchema": {
        "type": "object",
        "description": "Mid price, target spread, and inventory for skewed quotes.",
        "properties": {
          "mid": {
            "type": "number",
            "description": "Mid price"
          },
          "targetSpreadBps": {
            "type": "number",
            "description": "Target bid/ask spread in basis points"
          },
          "inventory": {
            "type": "number",
            "description": "Current inventory (signed)"
          },
          "maxInventory": {
            "type": "number",
            "description": "Inventory cap used for skew"
          }
        },
        "required": [
          "mid",
          "targetSpreadBps"
        ]
      },
      "outputSchema": {
        "type": "object",
        "description": "Inventory-skewed bid/ask quotes.",
        "properties": {
          "service": {
            "type": "string"
          },
          "result": {
            "type": "object",
            "properties": {
              "mid": {
                "type": "number"
              },
              "bid": {
                "type": "number"
              },
              "ask": {
                "type": "number"
              },
              "spreadBps": {
                "type": "number"
              },
              "inventorySkewBps": {
                "type": "number"
              },
              "recommendation": {
                "type": "string"
              }
            }
          }
        }
      },
      "examples": [
        "POST https://api.genesistokenlabs.com/signals/market-making"
      ],
      "price": "20000"
    },
    {
      "id": "sovereign-intel",
      "name": "Sovereign intel catalog",
      "description": "CBDC, regulation, capital-controls, tokenized treasuries. 508 SKUs.",
      "tags": [
        "x402",
        "intel"
      ],
      "examples": [
        "GET https://api.genesistokenlabs.com/catalog.json"
      ]
    },
    {
      "id": "mcp-discover",
      "name": "MCP catalog search",
      "description": "Free discovery tools on /mcp. Payment stays on the agent machine.",
      "tags": [
        "mcp",
        "discovery"
      ],
      "examples": [
        "GET https://api.genesistokenlabs.com/mcp"
      ]
    }
  ],
  "securitySchemes": {
    "x402": {
      "type": "x402",
      "network": "eip155:8453",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "wellKnown": "https://api.genesistokenlabs.com/.well-known/x402"
    }
  },
  "documentationUrl": "https://api.genesistokenlabs.com/for-agents",
  "x402": {
    "wellKnown": "https://api.genesistokenlabs.com/.well-known/x402",
    "catalog": "https://api.genesistokenlabs.com/catalog.json",
    "facilitator": "https://x402-facilitator.srv1195681.hstgr.cloud",
    "charging": "off",
    "agentJson": "https://api.genesistokenlabs.com/.well-known/agent.json",
    "forAgents": "https://api.genesistokenlabs.com/for-agents"
  }
}
