Quote
curl --request POST \
--url https://api.aisa.one/apis/v1/b3-com-br/companies/quote \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"symbol": "PETR4"
}
'import requests
url = "https://api.aisa.one/apis/v1/b3-com-br/companies/quote"
payload = { "symbol": "PETR4" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({symbol: 'PETR4'})
};
fetch('https://api.aisa.one/apis/v1/b3-com-br/companies/quote', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.aisa.one/apis/v1/b3-com-br/companies/quote",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'symbol' => 'PETR4'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/b3-com-br/companies/quote"
payload := strings.NewReader("{\n \"symbol\": \"PETR4\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.aisa.one/apis/v1/b3-com-br/companies/quote")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"symbol\": \"PETR4\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/b3-com-br/companies/quote")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"symbol\": \"PETR4\"\n}"
response = http.request(request)
puts response.read_body{
"average": 48.111,
"change_pct": -1.0309278,
"country": "BR",
"currency": "BRL",
"description": "PETROBRAS PN N2",
"high": 48.4,
"in_index_composition": true,
"last": 48,
"low": 47.8,
"market": "Vista",
"observed_at_ms": 1790046996977,
"open": 48.21,
"quoted_at": "2026-09-22 00:16:36",
"source": "b3.com.br",
"symbol": "PETR4",
"total_quantity": 39169,
"url": "https://cotacao.b3.com.br/mds/api/v1/instrumentQuotation/PETR4"
}
B3 listed companies and indices
Quote
For a ticker such as PETR4, VALE3, BOVA11. Quotes are delayed per B3 policy.
POST
https://api.aisa.one
/
apis
/
v1
/
b3-com-br
/
companies
/
quote
Quote
curl --request POST \
--url https://api.aisa.one/apis/v1/b3-com-br/companies/quote \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"symbol": "PETR4"
}
'import requests
url = "https://api.aisa.one/apis/v1/b3-com-br/companies/quote"
payload = { "symbol": "PETR4" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({symbol: 'PETR4'})
};
fetch('https://api.aisa.one/apis/v1/b3-com-br/companies/quote', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.aisa.one/apis/v1/b3-com-br/companies/quote",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'symbol' => 'PETR4'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/b3-com-br/companies/quote"
payload := strings.NewReader("{\n \"symbol\": \"PETR4\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.aisa.one/apis/v1/b3-com-br/companies/quote")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"symbol\": \"PETR4\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/b3-com-br/companies/quote")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"symbol\": \"PETR4\"\n}"
response = http.request(request)
puts response.read_body{
"average": 48.111,
"change_pct": -1.0309278,
"country": "BR",
"currency": "BRL",
"description": "PETROBRAS PN N2",
"high": 48.4,
"in_index_composition": true,
"last": 48,
"low": 47.8,
"market": "Vista",
"observed_at_ms": 1790046996977,
"open": 48.21,
"quoted_at": "2026-09-22 00:16:36",
"source": "b3.com.br",
"symbol": "PETR4",
"total_quantity": 39169,
"url": "https://cotacao.b3.com.br/mds/api/v1/instrumentQuotation/PETR4"
}
Request contract
- Method and path: POST /apis/v1/b3-com-br/companies/quote
- Availability: enabled
- Request URL template:
https://api.aisa.one/apis/v1/b3-com-br/companies/quote
{
"operationId": "b3-com-br.companies.quote",
"method": "POST",
"path": "/apis/v1/b3-com-br/companies/quote",
"servers": [
{
"url": "https://api.aisa.one"
}
],
"parameters": [],
"security": [
{
"bearerAuth": []
}
],
"requestBody": {
"content": {
"application/json": {
"examples": {
"provider": {
"summary": "Official provider example; checked against AIsa request constraints",
"value": {
"symbol": "PETR4"
}
}
},
"schema": {
"additionalProperties": true,
"properties": {
"symbol": {
"description": "Ticker, e.g. `PETR4`.",
"type": "string"
}
},
"required": [
"symbol"
],
"type": "object"
}
}
},
"required": true
},
"x-aisa-status": "enabled",
"components": {
"securitySchemes": {
"bearerAuth": {
"scheme": "bearer",
"type": "http"
}
}
}
}
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
Response
Delayed quote for one B3 instrument from cotacao.b3.com.br: open, low, high, average, last price, percent change and traded quantity, in BRL.
The response contains the tool result directly.
| Documented field | Provider type | Description |
|---|---|---|
average | number | |
change_pct | number | |
country | string | |
currency | string | |
description | string | |
high | number | |
in_index_composition | boolean | |
last | number | |
low | number | |
market | string | |
observed_at_ms | number | |
open | number | |
quoted_at | string | B3's message timestamp (São Paulo local time). |
source | string | |
symbol | string | |
total_quantity | number | |
url | string |
These are the provider's documented fields. Field requiredness, nullability and nested object structures are specified only where the descriptions explicitly say so.