DataBolsa docs
Referência da APIDados de mercadoOpções

Vencimentos disponíveis de um subjacente

GET
/v1/options/{ticker}/expiries
AuthorizationBearer <token>

In: header

Path Parameters

tickerstring
Match^[A-Z][A-Z0-9]{3}[0-9]{0,2}$

Response Body

curl -X GET "https://api.databolsa.com/v1/options/string/expiries"
{
  "data": [
    {
      "expiry": "string",
      "count": 0
    }
  ],
  "meta": {
    "next_cursor": "string",
    "count": 0,
    "total": 0,
    "subject": {
      "property1": "string",
      "property2": "string"
    },
    "underlying_ticker": "string"
  }
}
{
  "type": "string",
  "title": "string",
  "status": 0,
  "detail": "string",
  "instance": "string",
  "details": {
    "property1": null,
    "property2": null
  }
}