---
title: "Pm Redirect"
method: GET
path: "/api/v2/pm/{market_id}"
---

# Pm Redirect

`GET /api/v2/pm/{market_id}`

## Request

- Base URL: `https://orcalayer.com` (the document declares no server; this is the origin it was published from)
- URL: `https://orcalayer.com/api/v2/pm/{market_id}`
- Auth: none declared

Resolve and 302-redirect to current Polymarket URL for a given market_id.

Tries in order: DB event_slug, DB market slug, live Gamma fetch, URL-encoded search.
Caches the resolved URL in Redis for 1 hour. Affiliate code appended at response time.

## Path parameters

- `market_id` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/orcalayer/apis/orcalayer-api.md) · [All operations](https://skmtc.dev/orcalayer/apis/orcalayer-api/llms.txt) · [OpenAPI document](https://skmtc.dev/orcalayer/apis/orcalayer-api/revisions/5d1d509daba6?raw)
