Skip to main content
This guide gets you from zero to a live API response in under five minutes. You’ll obtain an API key, call the trader activity endpoint with a real wallet address, and inspect the JSON response — giving you a working template you can adapt for any other Orbscan endpoint.
1

Get your API key

Every request to the Orbscan API requires a valid API key in the Authorization header. If you don’t have one yet, follow the steps in the Authentication guide to create an account and generate a key.Once you have your key, store it in an environment variable so you can reference it safely across requests:
2

Fetch trader activity

The trader activity endpoint returns paginated buy, sell, and redeem history for any Polymarket wallet. Send the request below — it fetches the 5 most recent actions for a real wallet address.
3

Inspect the response

A successful request returns a JSON object wrapped in the standard Orbscan response envelope. The data.items array contains the activity records, and data.nextCursor lets you page through the full history.
Here are the key fields to understand in each activity record:
4

Next steps

You’ve made your first successful Orbscan API call. Here’s where to go next:

API Reference

Browse every available endpoint — trader activity, deposits & withdrawals, and per-transaction action details — with full parameter and response documentation.

Guides

Follow step-by-step recipes for common tasks like building a leaderboard widget or tracking a wallet’s full trading history.