HTTP Endpoints

This section lists every HTTP endpoint exposed by the Polyscout API.

All /v1/* endpoints require the Authorization: Bearer <POLYSCOUT_API_KEY> header unless explicitly noted.

Health

chevron-rightGET /healthhashtag

Returns a basic liveness payload. This endpoint is unauthenticated.

Response:

{ "status": "ok", "timestamp": "2026-01-26T00:00:00.000Z", "service": "polyscout-api" }

Auth

chevron-rightGET /v1/mehashtag

Returns the authenticated builder profile.

Response:

{ "user": <User> }

Example:

curl -sS \
  -H "Authorization: Bearer $POLYSCOUT_API_KEY" \
  "https://api.polyscout.io/v1/me"
chevron-rightPOST /v1/api-key/rotatehashtag

Rotates the caller’s API key. The new key is returned once in the response.

Headers:

  • Authorization: Bearer <POLYSCOUT_API_KEY>

  • Idempotency-Key is recommended

Response:

{
  "api_key": "string",
  "api_key_prefix": "string",
  "rotated_at": "2026-01-26T00:00:00.000Z"
}

Wallets

chevron-rightGET /v1/walletshashtag

Lists wallets for the authenticated builder profile.

Query parameters:

  • cursor (integer, optional)

  • limit (integer, optional, max 25)

Response:

chevron-rightPOST /v1/wallets/generatehashtag

Generates a new wallet and returns the private key once.

Headers:

  • Idempotency-Key is recommended

Body (optional):

Response (201):

chevron-rightPOST /v1/wallets/importhashtag

Imports a wallet by private key. The private key is not returned.

Headers:

  • Idempotency-Key is recommended

Body:

Response (201):

chevron-rightPOST /v1/wallets/remote-httphashtag

Creates a wallet backed by a user-hosted remote signer. No private key is stored in Polyscout.

Headers:

  • Idempotency-Key is recommended

Body:

Response (201):

chevron-rightGET /v1/wallets/{walletId}hashtag

Gets a wallet by id.

Response:

PUT /v1/wallets/{walletId}/signer/remote-http

Configures a remote signer for an existing wallet. This sets configuration only. Verification is done separately.

Body:

Response:

chevron-rightPOST /v1/wallets/{walletId}/signer/verifyhashtag

Verifies the configured signer by signing a challenge and checking the recovered address.

Headers:

  • Idempotency-Key is recommended

Response:

Strategies

chevron-rightGET /v1/strategieshashtag

Lists strategies for the authenticated builder profile.

Query parameters:

  • wallet_id (uuid, optional)

  • cursor (integer, optional)

  • limit (integer, optional, max 25)

Response:

chevron-rightPOST /v1/strategieshashtag

Creates a strategy.

Headers:

  • Idempotency-Key is recommended

Body:

Response (201):

chevron-rightGET /v1/strategies/{strategyId}hashtag

Gets a strategy by id.

Response:

chevron-rightPATCH /v1/strategies/{strategyId}hashtag

Updates a strategy. Omitted fields remain unchanged. Some fields accept null to clear.

Response:

chevron-rightDELETE /v1/strategies/{strategyId}hashtag

Deletes a strategy.

Response:

204 No Content

chevron-rightPOST /v1/strategies/{strategyId}/starthashtag

Sets the strategy status to active.

Headers:

  • Idempotency-Key is recommended

Response:

chevron-rightPOST /v1/strategies/{strategyId}/stophashtag

Sets the strategy status to stopped.

Headers:

  • Idempotency-Key is recommended

Response:

Place Bets

chevron-rightGET /v1/place-betshashtag

Lists place-bets for the authenticated builder profile.

Query parameters:

  • wallet_id (uuid, optional)

  • status (string, optional)

  • cursor (integer, optional)

  • limit (integer, optional, max 25)

Response:

chevron-rightPOST /v1/place-betshashtag

Creates a place-bet pinned to a specific event_slug.

Headers:

  • Idempotency-Key is recommended

Response (201):

chevron-rightGET /v1/place-bets/{placeBetId}hashtag

Gets a place-bet by id.

Response:

chevron-rightPATCH /v1/place-bets/{placeBetId}hashtag

Updates a place-bet. Only allowed while status=open.

Response:

chevron-rightPOST /v1/place-bets/{placeBetId}/cancelhashtag

Cancels a place-bet. Only allowed while status=open.

Headers:

  • Idempotency-Key is recommended

Response:

Executions

chevron-rightGET /v1/executionshashtag

Lists executions for the authenticated builder profile.

Query parameters:

  • wallet_id (uuid, optional)

  • status (string, optional)

  • cursor (integer, optional)

  • limit (integer, optional, max 25)

Response:

chevron-rightGET /v1/executions/{executionId}hashtag

Gets an execution by id.

Response:

Last updated