Skip to content

Polymarket Token API data & x402 Subgraphs Payments#1095

Open
brandonleekramer wants to merge 23 commits intomainfrom
x402-subgraphs
Open

Polymarket Token API data & x402 Subgraphs Payments#1095
brandonleekramer wants to merge 23 commits intomainfrom
x402-subgraphs

Conversation

@brandonleekramer
Copy link
Copy Markdown
Member

@brandonleekramer brandonleekramer commented Apr 16, 2026

Polymarket Token API Overview: A landing page that positions the Token API as an analytics/research layer on top of Polymarket (not a trading interface). It covers five use cases (self-analysis, leaderboard mirroring, conviction analysis, platform health, MCP-assisted research), includes an endpoint-at-a-glance table, and a getting started block. Designed to sit above the existing endpoint group pages in the sidebar.

x402 Subgraph Payments: Documents how the Subgraph Gateway accepts x402 protocol payments, enabling per-query access to subgraphs on The Graph Network. Agents and apps can pay in USDC over HTTP with no API key required.

Subgraph & Substreams Skills: Added two files under the AI Suite that provide guides on how to download Subgraph and Substreams SKILL repos from GitHub.

@brandonleekramer brandonleekramer requested a review from a team as a code owner April 16, 2026 21:24
Comment thread website/src/pages/en/ai-suite/subgraph-skills/setup.mdx Outdated
Comment thread website/src/pages/en/ai-suite/subgraph-skills/setup.mdx
Comment thread website/src/pages/en/ai-suite/subgraph-skills/setup.mdx
Comment thread website/src/pages/en/ai-suite/subgraph-skills/setup.mdx
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are we planning on having other pages in this section? If not, you could replace ai-suite/subgraph-skills/setup.mdx with a simple ai-suite/subgraph-skills.mdx file.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good point. This same point would apply to the following:
ai-suite/subgraph-skills.mdx
ai-suite/token-api-skills.mdx (see the redirect in nginx below)
ai-suite/substreams-skills.mdx

Comment thread website/src/pages/en/ai-suite/substreams-skills/setup.mdx
Comment thread website/src/pages/en/ai-suite/token-api-skills/_meta.js Outdated
Comment thread website/src/pages/en/subgraphs/guides/x402-payments.mdx Outdated
Comment thread website/src/pages/en/subgraphs/guides/x402-payments.mdx Outdated
Comment thread website/src/pages/en/subgraphs/guides/x402-payments.mdx Outdated
Comment thread website/src/pages/en/subgraphs/guides/x402-payments.mdx Outdated
Comment thread website/src/pages/en/token-api/guides/polymarket.mdx Outdated
Comment thread website/src/pages/en/token-api/guides/polymarket.mdx Outdated
Comment thread website/src/pages/en/token-api/guides/polymarket.mdx Outdated
Comment thread website/src/pages/en/token-api/guides/polymarket.mdx Outdated
Comment thread website/src/pages/en/token-api/guides/polymarket.mdx Outdated
Comment thread website/next.config.js Outdated
Comment on lines +150 to +154
{
source: '/en/ai-suite/token-api-skills/quick-setup',
destination: '/en/ai-suite/token-api-skills/setup',
permanent: true,
},
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Redirects should be added to nginx.conf, not here (this will only work when running the dev server, not on production).

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've removed this from the website/next.config.js file and added it to line 176 of the nginx.conf file instead.

Copy link
Copy Markdown
Contributor

@benface benface Apr 17, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you! I think you forgot to commit or push that though?

Comment thread website/src/pages/en/token-api/guides/polymarket.mdx Outdated
Comment thread website/src/pages/en/token-api/guides/polymarket.mdx Outdated
brandonleekramer and others added 3 commits April 17, 2026 11:13
Co-authored-by: Benoît Rouleau <1059139+benface@users.noreply.github.com>
Co-authored-by: Benoît Rouleau <1059139+benface@users.noreply.github.com>
Co-authored-by: Benoît Rouleau <1059139+benface@users.noreply.github.com>
brandonleekramer and others added 13 commits April 17, 2026 11:14
Co-authored-by: Benoît Rouleau <1059139+benface@users.noreply.github.com>
Co-authored-by: Benoît Rouleau <1059139+benface@users.noreply.github.com>
Co-authored-by: Benoît Rouleau <1059139+benface@users.noreply.github.com>
Co-authored-by: Benoît Rouleau <1059139+benface@users.noreply.github.com>
Co-authored-by: Benoît Rouleau <1059139+benface@users.noreply.github.com>
Co-authored-by: Benoît Rouleau <1059139+benface@users.noreply.github.com>
Co-authored-by: Benoît Rouleau <1059139+benface@users.noreply.github.com>
Co-authored-by: Benoît Rouleau <1059139+benface@users.noreply.github.com>
Co-authored-by: Benoît Rouleau <1059139+benface@users.noreply.github.com>
Co-authored-by: Benoît Rouleau <1059139+benface@users.noreply.github.com>
Co-authored-by: Benoît Rouleau <1059139+benface@users.noreply.github.com>
Co-authored-by: Benoît Rouleau <1059139+benface@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants