Skip to main content
POST
Get Market State

Request contract

  • Method and path: POST /apis/v1/twelvedata/get-market-state
  • Availability: enabled
  • Request URL template: https://api.aisa.one/apis/v1/twelvedata/get-market-state
  • Runtime facts: be86868d55452e2d3238a78a01e84ee4ea754154da2627dd8e94fd2d5f19c061
Complete OpenAPI definition Effective request and pricing declaration (including authentication and referenced schemas):

Cost and request rules

A request reference price is not currently available; use a request quote where supported. Declared unit rate: $0.000001 USD per provider_credit. Account-specific pricing and final settlement may differ. Published reference values are not an account-specific quote or a settled charge. For endpoints supporting X-AISA-Cost-Mode: quote, obtain a free quote for your exact request before execution; reconcile the settled cost with response metadata and Usage Logs. USD amounts use 1,000,000 integer micro-USD per dollar.
  • Declared unit rate (USD): 1e-06
  • Billing unit: provider_credit
  • Cost contract: response_units
  • Published reference multiplier: 1.0
  • Declared maximum count/units: 10000000
  • Settlement evidence source: response_body

Authorizations

Authorization
string
header
required

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

Body

application/json
code
string

Exchange MIC code (e.g., 'XNYS').

Example:

"XNYS"

country
string

Country name or alpha code (e.g., 'US' or 'United States').

Examples:

"US"

"United States"

exchange
string

Exchange name (e.g., 'NYSE').

Example:

"NYSE"

Response

Tool result data

market_states
object[]
required