> For the complete documentation index, see [llms.txt](https://docs.42.space/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.42.space/for-developers.md).

# For Developers

- [Deployments](https://docs.42.space/for-developers/deployments.md): 42's core deployment configurations for reference.
- [REST API (Alpha)](https://docs.42.space/for-developers/rest-api-alpha.md)
- [Markets](https://docs.42.space/for-developers/rest-api-alpha/markets.md)
- [Get all markets](https://docs.42.space/for-developers/rest-api-alpha/markets/get-all-markets.md)
- [Get market by address](https://docs.42.space/for-developers/rest-api-alpha/markets/get-market-by-address.md)
- [Get market timeline](https://docs.42.space/for-developers/rest-api-alpha/markets/get-market-timeline.md)
- [Get all categories](https://docs.42.space/for-developers/rest-api-alpha/markets/get-all-categories.md)
- [Get category by slug](https://docs.42.space/for-developers/rest-api-alpha/markets/get-category-by-slug.md)
- [Get all outcome tokens](https://docs.42.space/for-developers/rest-api-alpha/markets/get-all-outcome-tokens.md)
- [Get current outcome token prices](https://docs.42.space/for-developers/rest-api-alpha/markets/get-current-outcome-token-prices.md)
- [Get price history](https://docs.42.space/for-developers/rest-api-alpha/markets/get-price-history.md)
- [Get per-event price history](https://docs.42.space/for-developers/rest-api-alpha/markets/get-per-event-price-history.md)
- [Get OHLC candlestick data](https://docs.42.space/for-developers/rest-api-alpha/markets/get-ohlc-candlestick-data.md)
- [Get batch market stats](https://docs.42.space/for-developers/rest-api-alpha/markets/get-batch-market-stats.md)
- [Get outcome token stats](https://docs.42.space/for-developers/rest-api-alpha/markets/get-outcome-token-stats.md)
- [Get outcome token holders](https://docs.42.space/for-developers/rest-api-alpha/markets/get-outcome-token-holders.md)
- [Users](https://docs.42.space/for-developers/rest-api-alpha/users.md)
- [Get user activity feed](https://docs.42.space/for-developers/rest-api-alpha/users/get-user-activity-feed.md)
- [Get open positions](https://docs.42.space/for-developers/rest-api-alpha/users/get-open-positions.md)
- [Get closed positions](https://docs.42.space/for-developers/rest-api-alpha/users/get-closed-positions.md)
- [Leaderboard](https://docs.42.space/for-developers/rest-api-alpha/leaderboard.md)
- [Get trader leaderboard](https://docs.42.space/for-developers/rest-api-alpha/leaderboard/get-trader-leaderboard.md)
- [Get wallet trading stats](https://docs.42.space/for-developers/rest-api-alpha/leaderboard/get-wallet-trading-stats.md)
- [Get top trades](https://docs.42.space/for-developers/rest-api-alpha/leaderboard/get-top-trades.md)
- [Get streak leaderboard](https://docs.42.space/for-developers/rest-api-alpha/leaderboard/get-streak-leaderboard.md)
- [Frequently Ask Questions](https://docs.42.space/for-developers/interactive-blocks.md): Common FAQ.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.42.space/for-developers.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
