Skip to main content

Base URL

All Polymarket API requests are made to the following base URL:
https://api.struct.to

Authentication

Every request must include your API key in the X-API-Key header.
curl https://api.struct.to/v1/markets \
  -H "X-API-Key: YOUR_API_KEY"
You can generate an API key from the Struct Dashboard.
Keep your API key secret. Do not expose it in client-side code or public repositories.

Making Your First Request

1

Create an account

Sign up at struct.to/dashboard and create an organisation.
2

Generate an API key

Navigate to the API Keys section in your dashboard and create a new key.
3

Send a request

Use the base URL and your API key to make your first call:
curl https://api.struct.to/v1/markets \
  -H "X-API-Key: YOUR_API_KEY"

Response Format

All responses are returned as JSON and wrapped in a standard envelope. See Response Format for the full breakdown.

Rate Limits

Rate limits depend on your plan. See Pricing & Ratelimits for details.
Last modified on March 18, 2026