Skip to content

feat(polymarket): support looking up a market condition ID given a token ID#101

Merged
realfishsam merged 2 commits into
pmxt-dev:mainfrom
ndmeiri:get-market-by-token-endpoint
Apr 22, 2026
Merged

feat(polymarket): support looking up a market condition ID given a token ID#101
realfishsam merged 2 commits into
pmxt-dev:mainfrom
ndmeiri:get-market-by-token-endpoint

Conversation

@ndmeiri

@ndmeiri ndmeiri commented Apr 21, 2026

Copy link
Copy Markdown
Contributor

Adds support for Polymarket's get market by token endpoint.

Note that the path uses "markets" plural (/markets-by-token/{token_id}) despite returning information about a single market.

Closes #98.

@ndmeiri

ndmeiri commented Apr 21, 2026

Copy link
Copy Markdown
Contributor Author

@realfishsam Were sdks/python/pmxt/client.py and sdks/typescript/pmxt/client.ts out of date? When I ran the regeneration scripts suggested by the failing CI workflows, those files changed more than expected.

@realfishsam realfishsam merged commit ec9acff into pmxt-dev:main Apr 22, 2026
4 of 5 checks passed
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.

Polymarket exchange does not support the get-market-by-token endpoint

2 participants