Skip to main content
POST
List trades

Request contract

  • Method and path: POST /apis/v1/api-exchange-coinbase-com/markets/list-trades
  • Availability: enabled
  • Request URL template: https://api.aisa.one/apis/v1/api-exchange-coinbase-com/markets/list-trades
Complete OpenAPI definition Effective request declaration (including authentication and referenced schemas):

Cost and request rules

Usage-based pricing. Default request estimate: $0.0005 USD. The final charge depends on actual usage. Your account price may differ; use a request quote where supported.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
product_id
string
required

Trading pair id BASE-QUOTE as listed by list_products, e.g. BTC-USD, USELESS-USD. Case-insensitive; the canonical upper-case id is returned. Pattern: ^[A-Za-z0-9]{1,20}-[A-Za-z0-9]{1,20}$.

after
number

Return trades with an id lower than this (older). Use next_after from the previous page. Mutually exclusive with before.

Provider reference: minimum 1.

before
number

Return trades with an id higher than this (newer). Mutually exclusive with after.

Provider reference: minimum 1.

limit
number
default:100

Trades per page.

Provider reference: minimum 1; maximum 1000; default 100.

Response

Recent trades for one trading pair (GET /products/{product_id}/trades), newest first, up to 1000 per page. Cursor pagination follows the exchange's cb-after/cb-before headers: pass after (a trade id) to get older trades, before to get newer ones. next_after is the cursor for the next older page.

The response contains the tool result directly.

The provider identifies trades as the primary payload key.

These are the provider's documented fields. Field requiredness, nullability and nested object structures are specified only where the descriptions explicitly say so.