{
  "x402Version": 2,
  "id": 35593,
  "slug": "35593",
  "resource": "https://api.sitecheck-api.workers.dev/api/markets/build-buy",
  "description": "Build an unsigned Panta buy transaction (Solana v0, base64, plus the raw instructions) for your own wallet to sign and broadcast. SiteCheck never signs, holds keys or custodies funds. Then report the signature to POST /api/markets/report (free).",
  "type": "http",
  "serviceName": "SiteCheck",
  "resourceType": "Market Data",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xb8491F953e6860D3b5840b73c60883Ff099ceAfA",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "10000",
      "amountUsd": 0.01,
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "payTo": "J8vnmBx4pS1X7UUBTfz1yWBKiw69Dj2yRGRHDaXBRdhR",
      "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
      "amount": "10000",
      "amountUsd": 0.01,
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "eip155:5042",
      "payTo": "0xa4751fCAa83c9669cfe507bb6807507729839be3",
      "asset": "0x3600000000000000000000000000000000000000",
      "amount": "10000",
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "amountUsdc": "5.00",
            "id": "7xKXtg2CW87d97TXJSDpbD5jBkheTqA83TZRuJosgAsU",
            "maxSlippageBps": 100,
            "side": "yes",
            "wallet": "9WzDXwBbmkg8ZTbNMqUxvQRAyrZzDsGYdLVL9zYtAWWM"
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "disclaimer": "Information only, not financial advice.",
            "instructions": [
              {
                "accounts": [],
                "data": "<base64>",
                "programId": "..."
              }
            ],
            "order": {
              "expectedShares": "15.80",
              "feeUsdc": "0.10",
              "orderId": "ord_...",
              "quoteId": "qt_..."
            },
            "transaction": {
              "data": "AQAAAA...",
              "encoding": "base64",
              "feePayer": "9WzDXwBbmkg8ZTbNMqUxvQRAyrZzDsGYdLVL9zYtAWWM",
              "format": "solana-v0",
              "signed": false
            }
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "properties": {
                  "amountUsdc": {
                    "description": "USDC to spend, as a decimal string, e.g. \"5.00\"",
                    "type": "string"
                  },
                  "id": {
                    "description": "Panta market id (the market's event address, base58), from GET /api/markets",
                    "type": "string"
                  },
                  "maxSlippageBps": {
                    "description": "1-5000, default 100 (1%)",
                    "type": "integer"
                  },
                  "side": {
                    "description": "yes or no",
                    "type": "string"
                  },
                  "wallet": {
                    "description": "The buyer's Solana wallet (base58). It pays and signs; SiteCheck never does.",
                    "type": "string"
                  }
                },
                "required": [
                  "id",
                  "side",
                  "amountUsdc",
                  "wallet"
                ]
              },
              "bodyType": {
                "enum": [
                  "json",
                  "form-data",
                  "text"
                ],
                "type": "string"
              },
              "method": {
                "enum": [
                  "POST"
                ],
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method",
              "bodyType",
              "body"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "prediction markets",
    "unsigned transaction",
    "panta",
    "solana",
    "trading",
    "bazaar"
  ],
  "sourceHost": "api.sitecheck-api.workers.dev",
  "lastUpdated": "2026-10-08T20:38:46.799Z",
  "quality": {
    "calls30d": 1,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-10-08T20:38:46.615Z"
  },
  "metadata": {
    "serviceName": "SiteCheck",
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "body": {
              "amountUsdc": "5.00",
              "id": "7xKXtg2CW87d97TXJSDpbD5jBkheTqA83TZRuJosgAsU",
              "maxSlippageBps": 100,
              "side": "yes",
              "wallet": "9WzDXwBbmkg8ZTbNMqUxvQRAyrZzDsGYdLVL9zYtAWWM"
            },
            "bodyType": "json",
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "disclaimer": "Information only, not financial advice.",
              "instructions": [
                {
                  "accounts": [],
                  "data": "<base64>",
                  "programId": "..."
                }
              ],
              "order": {
                "expectedShares": "15.80",
                "feeUsdc": "0.10",
                "orderId": "ord_...",
                "quoteId": "qt_..."
              },
              "transaction": {
                "data": "AQAAAA...",
                "encoding": "base64",
                "feePayer": "9WzDXwBbmkg8ZTbNMqUxvQRAyrZzDsGYdLVL9zYtAWWM",
                "format": "solana-v0",
                "signed": false
              }
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "properties": {
                    "amountUsdc": {
                      "description": "USDC to spend, as a decimal string, e.g. \"5.00\"",
                      "type": "string"
                    },
                    "id": {
                      "description": "Panta market id (the market's event address, base58), from GET /api/markets",
                      "type": "string"
                    },
                    "maxSlippageBps": {
                      "description": "1-5000, default 100 (1%)",
                      "type": "integer"
                    },
                    "side": {
                      "description": "yes or no",
                      "type": "string"
                    },
                    "wallet": {
                      "description": "The buyer's Solana wallet (base58). It pays and signs; SiteCheck never does.",
                      "type": "string"
                    }
                  },
                  "required": [
                    "id",
                    "side",
                    "amountUsdc",
                    "wallet"
                  ]
                },
                "bodyType": {
                  "enum": [
                    "json",
                    "form-data",
                    "text"
                  ],
                  "type": "string"
                },
                "method": {
                  "enum": [
                    "POST"
                  ],
                  "type": "string"
                },
                "type": {
                  "const": "http",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "method",
                "bodyType",
                "body"
              ],
              "type": "object"
            },
            "output": {
              "properties": {
                "example": {
                  "type": "object"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "api.sitecheck-api.workers.dev",
    "manifest_name": "api.sitecheck-api.workers.dev",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-10-14T01:15:01.050Z"
  },
  "exampleResponse": {
    "example": {},
    "type": "string"
  }
}