{
  "openapi": "3.1.0",
  "info": {
    "title": "ChainScout",
    "version": "1.0.0",
    "x-guidance": "On-chain intelligence - whale moves, trending tokens, DeFi TVL on Base and Ethereum. $0.05/query via x402 USDC on Base.  |  Also from LoneStarOracle: TokenScope (token.lonestaroracle.xyz)  |  WalletRisk (wallet.lonestaroracle.xyz)  |  CrownBlock (crownblock.lonestaroracle.xyz)  |  Full catalog: lonestaroracle.xyz",
    "contact": {
      "email": "jay@lonestaroracle.xyz"
    },
    "description": "On-chain intel for any token, whales, trending, TVL, holders and narrative signals. Pass ?address=&chain=.",
    "x-x402-proof": "https://chainscout.lonestaroracle.xyz/.well-known/x402-proof"
  },
  "externalDocs": {
    "url": "https://docs.lonestaroracle.xyz",
    "description": "LoneStarOracle API & integration docs"
  },
  "paths": {
    "/": {
      "get": {
        "summary": "Root",
        "operationId": "root__get",
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          }
        }
      }
    },
    "/preview": {
      "get": {
        "summary": "Preview",
        "description": "Free teaser \u2014 shows what's in the report without the data.",
        "operationId": "preview_preview_get",
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          }
        }
      }
    },
    "/report": {
      "get": {
        "summary": "On-Chain Token Intelligence",
        "description": "On-chain intel for any token, whales, trending, TVL, holders and narrative signals. Pass ?address=&chain=.",
        "operationId": "report_report_get",
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "402": {
            "description": "Payment Required"
          }
        },
        "x-payment-info": {
          "authMode": "payment",
          "price": {
            "mode": "fixed",
            "currency": "USD",
            "amount": "0.050000"
          },
          "protocols": [
            {
              "x402": {}
            }
          ],
          "outputSchema": {
            "type": "object",
            "description": "On-chain intelligence data"
          }
        },
        "tags": [
          "onchain",
          "crypto",
          "whales",
          "tvl",
          "trending",
          "token"
        ]
      }
    },
    "/whales": {
      "get": {
        "summary": "Whales",
        "description": "Large transfers on Base + Ethereum in last 24h.",
        "operationId": "whales_whales_get",
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "402": {
            "description": "Payment Required"
          }
        },
        "x-payment-info": {
          "authMode": "payment",
          "price": {
            "mode": "fixed",
            "currency": "USD",
            "amount": "0.050000"
          },
          "protocols": [
            {
              "x402": {}
            }
          ],
          "outputSchema": {
            "type": "object",
            "description": "On-chain intelligence data"
          }
        }
      }
    },
    "/trending": {
      "get": {
        "summary": "Trending",
        "description": "Trending tokens by volume and momentum.",
        "operationId": "trending_trending_get",
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "402": {
            "description": "Payment Required"
          }
        },
        "x-payment-info": {
          "authMode": "payment",
          "price": {
            "mode": "fixed",
            "currency": "USD",
            "amount": "0.050000"
          },
          "protocols": [
            {
              "x402": {}
            }
          ],
          "outputSchema": {
            "type": "object",
            "description": "On-chain intelligence data"
          }
        }
      }
    },
    "/tvl": {
      "get": {
        "summary": "Tvl",
        "description": "DeFi protocol TVL movements on Base.",
        "operationId": "tvl_tvl_get",
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "402": {
            "description": "Payment Required"
          }
        },
        "x-payment-info": {
          "authMode": "payment",
          "price": {
            "mode": "fixed",
            "currency": "USD",
            "amount": "0.050000"
          },
          "protocols": [
            {
              "x402": {}
            }
          ],
          "outputSchema": {
            "type": "object",
            "description": "On-chain intelligence data"
          }
        }
      }
    },
    "/narrative": {
      "get": {
        "summary": "Narrative",
        "description": "Claude-written on-chain intel brief.",
        "operationId": "narrative_narrative_get",
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "402": {
            "description": "Payment Required"
          }
        },
        "x-payment-info": {
          "authMode": "payment",
          "price": {
            "mode": "fixed",
            "currency": "USD",
            "amount": "0.050000"
          },
          "protocols": [
            {
              "x402": {}
            }
          ],
          "outputSchema": {
            "type": "object",
            "description": "On-chain intelligence data"
          }
        }
      }
    },
    "/subscribe": {
      "post": {
        "summary": "Subscribe",
        "description": "Subscribe to ChainScout push alerts \u2014 $5 USDC / 30 days via x402.\nProvide your webhook URL and we'll push whale & TVL alerts every 15 minutes.",
        "operationId": "subscribe_subscribe_post",
        "parameters": [
          {
            "name": "webhook_url",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "default": "",
              "title": "Webhook Url"
            }
          },
          {
            "name": "wallet",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "default": "",
              "title": "Wallet"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/subscribers": {
      "get": {
        "summary": "Subscribers",
        "description": "Active subscriber count \u2014 free endpoint.",
        "operationId": "subscribers_subscribers_get",
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          }
        }
      }
    },
    "/health": {
      "get": {
        "summary": "Health",
        "operationId": "health_health_get",
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "HTTPValidationError": {
        "properties": {
          "detail": {
            "items": {
              "$ref": "#/components/schemas/ValidationError"
            },
            "type": "array",
            "title": "Detail"
          }
        },
        "type": "object",
        "title": "HTTPValidationError"
      },
      "ValidationError": {
        "properties": {
          "loc": {
            "items": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "integer"
                }
              ]
            },
            "type": "array",
            "title": "Location"
          },
          "msg": {
            "type": "string",
            "title": "Message"
          },
          "type": {
            "type": "string",
            "title": "Error Type"
          },
          "input": {
            "title": "Input"
          },
          "ctx": {
            "type": "object",
            "title": "Context"
          }
        },
        "type": "object",
        "required": [
          "loc",
          "msg",
          "type"
        ],
        "title": "ValidationError"
      }
    }
  }
}