Get PPT prices without fee
Returns the currently estimated Priority Price Time (PPT) MEP buy/sell prices, excluding fees, grouped by client configuration.
GET
/v1/operations/usd-mep/ppt/prices/without-feeRequest
Headers
| Field | Type | Required | Description |
|---|---|---|---|
Authorization | string | Yes | Access token in Bearer ACCESS_TOKEN format |
Not applicable: Path Parameters, Query Parameters, Body.
Response
2XX Success
The response is a JSON object keyed by client configuration identifier, with the estimated buy/sell prices (fees excluded) for that client.
| Field | Type | Description |
|---|---|---|
<client_configuration> | object | Key identifying the client configuration the prices belong to. |
<client_configuration>.buy_estimation | number | Estimated buy price, excluding fees. |
<client_configuration>.sell_estimation | number | Estimated sell price, excluding fees. |
Error Codes
| Status | Description |
|---|---|
401 | Unauthorized — invalid or missing access token |
403 | Forbidden — the token does not have permission to access this resource |
500 | Internal Server Error |
Error structure:
{
"code": "INTERNAL_SERVER_ERROR",
"description": "Unexpected error"
}
Code Example
- cURL
- JavaScript
- Python
- Node.js
curl -X GET https://b2b.allaria.cloud/v1/operations/usd-mep/ppt/prices/without-fee \
-H "Authorization: Bearer ACCESS_TOKEN"
const response = await fetch('https://b2b.allaria.cloud/v1/operations/usd-mep/ppt/prices/without-fee', {
method: 'GET',
headers: { 'Authorization': 'Bearer ACCESS_TOKEN' }
});
const data = await response.json();
console.log(data);
import requests
response = requests.get(
'https://b2b.allaria.cloud/v1/operations/usd-mep/ppt/prices/without-fee',
headers={ 'Authorization': 'Bearer ACCESS_TOKEN' }
)
data = response.json()
print(data)
const axios = require('axios');
const response = await axios.get('https://b2b.allaria.cloud/v1/operations/usd-mep/ppt/prices/without-fee', {
headers: { Authorization: 'Bearer ACCESS_TOKEN' }
});
console.log(response.data);
2XX Success
{
"api-broker": {
"buy_estimation": 1245.60,
"sell_estimation": 1243.35
}
}