Skip to main content
Get the bid-ask spread of a prediction market outcome, to judge how reliable its price is.
Tool ID: polymarket_get_spread

Run this action

Use the TypeScript SDK for one call. Use ctx.tools.execute(...) inside a Play for durable calls, scheduled calls, or CSV processing.

CLI

Example response

The SDK returns this shape at result.toolResponse.raw. The example values illustrate the response.
Use deepline describe polymarket_get_spread --json for the latest machine-readable contract.

Input reference

Retrieves the spread for a specific token ID. The spread is the difference between the best ask and best bid prices.

Output reference

Standard tool result payload.

Deepline cost

  • Pricing model: fixed (per call).
  • Estimated Deepline credits: 0 per pricing unit.
  • Provider-native pricing may still exist outside Deepline credit billing.