# LION Trend Intent MCP — curl quickstart

All examples use the canonical public endpoints. No API key. No PII.

## Inspect the 402 challenge (free)

```sh
curl -sS -i https://gleaming-cassata-d41682.netlify.app/api/x402/trend-intent-raw-signal-json
```

The response is HTTP 402 with an x402 v2 `paymentRequirements` body and a `Payment-Required` header.

## Paid request (USDC on Base via x402)

```sh
curl -sS -H "Payment-Signature: <x402-v2-signed-envelope>" \
  https://gleaming-cassata-d41682.netlify.app/api/x402/trend-intent-raw-signal-json
```

Use any x402 v2 client (e.g. `awal`, the Coinbase x402 reference client, or a custom EOA signer) to build the signed envelope. The CDP facilitator settles on Base.

- Network: `eip155:8453`
- Amount: `10000` atomic USDC = `$0.01`
- Asset: `0x833589fcd6edb6e08f4c7c32d4f71b54bda02913` (USDC on Base)
- payTo: `0x84c2e2ec19a4b467D89fE3F008591DEEA884d9Ac`

## CSV variant

```sh
curl -sS https://gleaming-cassata-d41682.netlify.app/api/x402/trend-intent-raw-signal-csv
```

Same payment shape as the JSON route; response body is `text/csv`.

## MCP endpoint

Add this to any MCP client (Claude Desktop, Cursor, etc.) that supports remote streamable-http MCP servers:

```json
{
  "mcpServers": {
    "lion-trend-intent": {
      "url": "https://gleaming-cassata-d41682.netlify.app/api/mcp",
      "type": "streamable-http"
    }
  }
}
```

## Verify via Agentic.Market / Bazaar

```
https://agentic.market/validate?url=https%3A%2F%2Fgleaming-cassata-d41682.netlify.app%2Fapi%2Fx402%2Ftrend-intent-raw-signal-json
```

The validator currently reports `Found on Bazaar`, x402 v2.
