ServiceBox APIs is an MCP server published by io.servicebox, hosted at mcp.servicebox.io. When last checked on 2026-11-22 it was working: it answers and lists its tools. It declares 46 tools, including bank-fx_listBanks, bank-fx_getBankRateHistory, bank-fx_listBankRates, bank-fx_compareBankRates, nutrition_calculateMeal.
Turkish data APIs as MCP tools: pharmacies, fuel, FX, gold, crypto, weather, prayer times, news.
1 connections through 4 shared values. Tap any node.
List banks The banks whose rates are read, with the page each is read from, the channel, how many currencies it shows and when it was last read. Free. GET /v1/bank-fx/banks on Bank exchange rates (SBX-BANKFX). Costs 0 credits per call.
No parameters.
{
"name": "bank-fx_listBanks",
"title": "Bank exchange rates: List banks",
"description": "List banks\n\nThe banks whose rates are read, with the page each is read from, the channel, how many currencies it shows and when it was last read. Free.\n\nGET /v1/bank-fx/banks on Bank exchange rates (SBX-BANKFX). Costs 0 credits per call.",
"inputSchema": {
"type": "object",
"properties": {},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}None yet. Changes appear after a server's second daily check.
Squares are this server's values; dots are other servers sharing them. A shared address or publisher is a lead, not proof of a common operator.
Inferred from the host name and headers: what a server runs on, not who runs it.
Rate changes over time Every change of one bank's rate for one currency between `start` and `end` (UTC days, inclusive; default the last 7 days; at most 31). The first item is the rate that held at `start`. Recorded since 2026-09-29. Use for how one bank's rate for a currency changed over recent days. GET /v1/bank-fx/history on Bank exchange rates (SBX-BANKFX). Costs 1 credit per call.
| Parameter | Type | Description |
|---|---|---|
| end | string | YYYY-MM-DD. Default: today. |
| bank * | string | A bank id from /bank-fx/banks, e.g. isbank. |
| start | string | YYYY-MM-DD. |
| currency * | string | One ISO 4217 code, e.g. USD. |
{
"name": "bank-fx_getBankRateHistory",
"title": "Bank exchange rates: Rate changes over time",
"description": "Rate changes over time\n\nEvery change of one bank's rate for one currency between `start` and `end` (UTC days, inclusive; default the last 7 days; at most 31). The first item is the rate that held at `start`. Recorded since 2026-09-29. Use for how one bank's rate for a currency changed over recent days.\n\nGET /v1/bank-fx/history on Bank exchange rates (SBX-BANKFX). Costs 1 credit per call.",
"inputSchema": {
"type": "object",
"required": [
"bank",
"currency"
],
"properties": {
"end": {
"type": "string",
"format": "date",
"description": "YYYY-MM-DD. Default: today."
},
"bank": {
"type": "string",
"description": "A bank id from /bank-fx/banks, e.g. isbank."
},
"start": {
"type": "string",
"format": "date",
"description": "YYYY-MM-DD."
},
"currency": {
"type": "string",
"description": "One ISO 4217 code, e.g. USD."
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Latest bank rates Each bank's latest buying and selling rate per currency, in TRY, with the spread. Rates are read from the banks' public pages every 5 minutes on weekdays (hourly otherwise); `observedAt` is the last read and `changedAt` when the rate last moved. Filter by `bank` and `currencies`. Use when the user asks what Turkish banks charge or pay for USD, EUR, GBP or another currency, or for one bank's rates. `buying` is what the bank pays you for one unit (you sell); `selling` is what you pay the bank (you buy). For the official TCMB rate use the currency (FX) tools instead. GET /v1/bank-fx/rates on Bank exchange rates (SBX-BANKFX). Costs 1 credit per call.
| Parameter | Type | Description |
|---|---|---|
| bank | string | A bank id from /bank-fx/banks, e.g. isbank. |
| currencies | string | Comma-separated ISO 4217 codes, e.g. USD,EUR. |
{
"name": "bank-fx_listBankRates",
"title": "Bank exchange rates: Latest bank rates",
"description": "Latest bank rates\n\nEach bank's latest buying and selling rate per currency, in TRY, with the spread. Rates are read from the banks' public pages every 5 minutes on weekdays (hourly otherwise); `observedAt` is the last read and `changedAt` when the rate last moved. Filter by `bank` and `currencies`. Use when the user asks what Turkish banks charge or pay for USD, EUR, GBP or another currency, or for one bank's rates. `buying` is what the bank pays you for one unit (you sell); `selling` is what you pay the bank (you buy). For the official TCMB rate use the currency (FX) tools instead.\n\nGET /v1/bank-fx/rates on Bank exchange rates (SBX-BANKFX). Costs 1 credit per call.",
"inputSchema": {
"type": "object",
"properties": {
"bank": {
"type": "string",
"description": "A bank id from /bank-fx/banks, e.g. isbank."
},
"currencies": {
"type": "string",
"description": "Comma-separated ISO 4217 codes, e.g. USD,EUR."
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Compare banks One currency at every bank, cheapest to buy first (lowest selling rate), with `meta.cheapestToBuy` (lowest selling) and `meta.bestToSell` (highest buying). Banks with stale rates are listed but not picked. Use when the user asks which bank is cheapest to buy a foreign currency from (lowest selling rate) or best to sell it to (highest buying rate): one call compares every bank. GET /v1/bank-fx/rates/compare on Bank exchange rates (SBX-BANKFX). Costs 1 credit per call.
| Parameter | Type | Description |
|---|---|---|
| currency * | string | One ISO 4217 code, e.g. USD. |
{
"name": "bank-fx_compareBankRates",
"title": "Bank exchange rates: Compare banks",
"description": "Compare banks\n\nOne currency at every bank, cheapest to buy first (lowest selling rate), with `meta.cheapestToBuy` (lowest selling) and `meta.bestToSell` (highest buying). Banks with stale rates are listed but not picked. Use when the user asks which bank is cheapest to buy a foreign currency from (lowest selling rate) or best to sell it to (highest buying rate): one call compares every bank.\n\nGET /v1/bank-fx/rates/compare on Bank exchange rates (SBX-BANKFX). Costs 1 credit per call.",
"inputSchema": {
"type": "object",
"required": [
"currency"
],
"properties": {
"currency": {
"type": "string",
"description": "One ISO 4217 code, e.g. USD."
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Calculate a meal or recipe The nutrients of a meal or recipe: `items` lists `<food>:<grams>` pairs, comma-separated (up to 30). A food is an id or a name (the best match is used and named in the answer, so check it); grams as `150`, `150g` or `1.5kg`. Answers each item's amounts and `meta.totals`; `meta.partial` lists nutrients some item had no value for (their totals add the known ones). Use when the user asks for the calories or macros of a dish, a recipe or a day's meals. GET /v1/nutrition/calculate on Nutrition & Calories (SBX-BESIN). Costs 1 credit per call.
| Parameter | Type | Description |
|---|---|---|
| items * | string | e.g. `domates:150,beyaz peynir:50,zeytinyağı:10g` or `170457:150`. |
{
"name": "nutrition_calculateMeal",
"title": "Nutrition & Calories: Calculate a meal or recipe",
"description": "Calculate a meal or recipe\n\nThe nutrients of a meal or recipe: `items` lists `<food>:<grams>` pairs, comma-separated (up to 30). A food is an id or a name (the best match is used and named in the answer, so check it); grams as `150`, `150g` or `1.5kg`. Answers each item's amounts and `meta.totals`; `meta.partial` lists nutrients some item had no value for (their totals add the known ones). Use when the user asks for the calories or macros of a dish, a recipe or a day's meals.\n\nGET /v1/nutrition/calculate on Nutrition & Calories (SBX-BESIN). Costs 1 credit per call.",
"inputSchema": {
"type": "object",
"required": [
"items"
],
"properties": {
"items": {
"type": "string",
"description": "e.g. `domates:150,beyaz peynir:50,zeytinyağı:10g` or `170457:150`."
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}List food categories The 25 food categories (vegetables, fruits, legumes, dairy and eggs, meats, fish…) in English and Turkish with how many foods each has. Free. GET /v1/nutrition/categories on Nutrition & Calories (SBX-BESIN). Costs 0 credits per call.
No parameters.
{
"name": "nutrition_listFoodCategories",
"title": "Nutrition & Calories: List food categories",
"description": "List food categories\n\nThe 25 food categories (vegetables, fruits, legumes, dairy and eggs, meats, fish…) in English and Turkish with how many foods each has. Free.\n\nGET /v1/nutrition/categories on Nutrition & Calories (SBX-BESIN). Costs 0 credits per call.",
"inputSchema": {
"type": "object",
"properties": {},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Search foods About 7,800 foods with calories, protein, fat, carbohydrate, sugars, fibre and salt per 100 g. Search with `q` in Turkish or English (Turkish letters optional: `domates`, `tomato`, `tavuk gogsu`, `beyaz peynir`); the everyday food comes first (raw before prepared). Narrow with `category`. Use when the user asks how many calories or how much protein, fat or carbohydrate a food has, or to find a food's id for /nutrition/foods/{id} or /nutrition/calculate. GET /v1/nutrition/foods on Nutrition & Calories (SBX-BESIN). Costs 1 credit per call.
| Parameter | Type | Description |
|---|---|---|
| q | string | Words to find at the start of words of the Turkish or English names, Turkish letters optional. |
| limit | integer | Items per page, 1–200. |
| cursor | string | The `next_cursor` of the previous page, with the same filters. |
| category | string | A category id from /nutrition/categories, e.g. vegetables. |
{
"name": "nutrition_searchFoods",
"title": "Nutrition & Calories: Search foods",
"description": "Search foods\n\nAbout 7,800 foods with calories, protein, fat, carbohydrate, sugars, fibre and salt per 100 g. Search with `q` in Turkish or English (Turkish letters optional: `domates`, `tomato`, `tavuk gogsu`, `beyaz peynir`); the everyday food comes first (raw before prepared). Narrow with `category`. Use when the user asks how many calories or how much protein, fat or carbohydrate a food has, or to find a food's id for /nutrition/foods/{id} or /nutrition/calculate.\n\nGET /v1/nutrition/foods on Nutrition & Calories (SBX-BESIN). Costs 1 credit per call.",
"inputSchema": {
"type": "object",
"properties": {
"q": {
"type": "string",
"description": "Words to find at the start of words of the Turkish or English names, Turkish letters optional."
},
"limit": {
"type": "integer",
"default": 50,
"maximum": 200,
"minimum": 1,
"description": "Items per page, 1–200."
},
"cursor": {
"type": "string",
"description": "The `next_cursor` of the previous page, with the same filters."
},
"category": {
"type": "string",
"description": "A category id from /nutrition/categories, e.g. vegetables."
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Get a food One food: every nutrient per 100 g (energy, macronutrients, fats incl. saturated, trans, cholesterol and omega-3, sugars, fibre, sodium and salt, 9 minerals, 13 vitamins, caffeine) and its household portions with their weight (e.g. 1 medium tomato = 123 g). Use after a search when the user wants vitamins, minerals or a portion's weight. GET /v1/nutrition/foods/{id} on Nutrition & Calories (SBX-BESIN). Costs 1 credit per call.
| Parameter | Type | Description |
|---|---|---|
| id * | string | A food id from /nutrition/foods, e.g. 170457. |
{
"name": "nutrition_getFood",
"title": "Nutrition & Calories: Get a food",
"description": "Get a food\n\nOne food: every nutrient per 100 g (energy, macronutrients, fats incl. saturated, trans, cholesterol and omega-3, sugars, fibre, sodium and salt, 9 minerals, 13 vitamins, caffeine) and its household portions with their weight (e.g. 1 medium tomato = 123 g). Use after a search when the user wants vitamins, minerals or a portion's weight.\n\nGET /v1/nutrition/foods/{id} on Nutrition & Calories (SBX-BESIN). Costs 1 credit per call.",
"inputSchema": {
"type": "object",
"required": [
"id"
],
"properties": {
"id": {
"type": "string",
"minLength": 1,
"description": "A food id from /nutrition/foods, e.g. 170457."
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}List nutrients The nutrients served — key, English and Turkish name, unit and group — and which of them lists carry. Free. GET /v1/nutrition/nutrients on Nutrition & Calories (SBX-BESIN). Costs 0 credits per call.
No parameters.
{
"name": "nutrition_listNutrients",
"title": "Nutrition & Calories: List nutrients",
"description": "List nutrients\n\nThe nutrients served — key, English and Turkish name, unit and group — and which of them lists carry. Free.\n\nGET /v1/nutrition/nutrients on Nutrition & Calories (SBX-BESIN). Costs 0 credits per call.",
"inputSchema": {
"type": "object",
"properties": {},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}List cities All 81 provinces with pharmacy and on-duty counts, sorted by pharmacy count descending. A city's `id` is its name, which is what `city=` accepts. Not paged: the whole list in one answer. GET /v1/pharmacy/cities on Nöbetçi Eczane (SBX-ECZ). Costs 0 credits per call.
No parameters.
{
"name": "pharmacy_listCities",
"title": "Nöbetçi Eczane: List cities",
"description": "List cities\n\nAll 81 provinces with pharmacy and on-duty counts, sorted by pharmacy count descending. A city's `id` is its name, which is what `city=` accepts. Not paged: the whole list in one answer.\n\nGET /v1/pharmacy/cities on Nöbetçi Eczane (SBX-ECZ). Costs 0 credits per call.",
"inputSchema": {
"type": "object",
"properties": {},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}List districts Districts (roughly 960 nationwide) with pharmacy and on-duty counts, optionally filtered to one city. A district's `id` is its name; `cityId` is its city's. Not paged: the whole list in one answer. GET /v1/pharmacy/districts on Nöbetçi Eczane (SBX-ECZ). Costs 0 credits per call.
| Parameter | Type | Description |
|---|---|---|
| city | string | Restrict to districts of this city (case- and accent-insensitive). Omit to list all districts nationwide. |
{
"name": "pharmacy_listDistricts",
"title": "Nöbetçi Eczane: List districts",
"description": "List districts\n\nDistricts (roughly 960 nationwide) with pharmacy and on-duty counts, optionally filtered to one city. A district's `id` is its name; `cityId` is its city's. Not paged: the whole list in one answer.\n\nGET /v1/pharmacy/districts on Nöbetçi Eczane (SBX-ECZ). Costs 0 credits per call.",
"inputSchema": {
"type": "object",
"properties": {
"city": {
"type": "string",
"maxLength": 120,
"description": "Restrict to districts of this city (case- and accent-insensitive). Omit to list all districts nationwide."
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Search pharmacies All pharmacies (on-duty and regular) matching the given filters. GET /v1/pharmacy/pharmacies on Nöbetçi Eczane (SBX-ECZ). Costs 1 credit per call.
| Parameter | Type | Description |
|---|---|---|
| q | string | Alias for `name`. |
| city | string | Filter by city name (case- and accent-insensitive). Up to 120 characters. |
| duty | boolean | Filter to on-duty (`true`) or off-duty (`false`) pharmacies. Omit to return both. |
| name | string | Turkish-aware substring match on pharmacy name. Up to 120 characters. `q` is an alias for this parameter. |
| sort | string | Sort order for the result set. |
| limit | integer | Maximum number of items on this page. |
| cursor | string | Opaque; the `next_cursor` of the previous page. Keep every other parameter unchanged, or the call is a 400. |
| district | string | Filter by district name (case- and accent-insensitive). Up to 120 characters. |
| activelyOnDuty | boolean | `true` = duty shift active now (Europe/Istanbul, start inclusive, end exclusive); `false` = not active now. Such answers carry `Cache-Control: no-store`, no `ETag`, and are never answered `304`. `false` does not mean closed. |
{
"name": "pharmacy_searchPharmacies",
"title": "Nöbetçi Eczane: Search pharmacies",
"description": "Search pharmacies\n\nAll pharmacies (on-duty and regular) matching the given filters.\n\nGET /v1/pharmacy/pharmacies on Nöbetçi Eczane (SBX-ECZ). Costs 1 credit per call.",
"inputSchema": {
"type": "object",
"properties": {
"q": {
"type": "string",
"maxLength": 120,
"description": "Alias for `name`."
},
"city": {
"type": "string",
"maxLength": 120,
"description": "Filter by city name (case- and accent-insensitive). Up to 120 characters."
},
"duty": {
"type": "boolean",
"description": "Filter to on-duty (`true`) or off-duty (`false`) pharmacies. Omit to return both."
},
"name": {
"type": "string",
"maxLength": 120,
"description": "Turkish-aware substring match on pharmacy name. Up to 120 characters. `q` is an alias for this parameter."
},
"sort": {
"enum": [
"id",
"name",
"city"
],
"type": "string",
"default": "id",
"description": "Sort order for the result set."
},
"limit": {
"type": "integer",
"default": 50,
"maximum": 200,
"minimum": 1,
"description": "Maximum number of items on this page."
},
"cursor": {
"type": "string",
"description": "Opaque; the `next_cursor` of the previous page. Keep every other parameter unchanged, or the call is a 400."
},
"district": {
"type": "string",
"maxLength": 120,
"description": "Filter by district name (case- and accent-insensitive). Up to 120 characters."
},
"activelyOnDuty": {
"type": "boolean",
"description": "`true` = duty shift active now (Europe/Istanbul, start inclusive, end exclusive); `false` = not active now. Such answers carry `Cache-Control: no-store`, no `ETag`, and are never answered `304`. `false` does not mean closed."
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Find nearby pharmacies Pharmacies within a radius of a coordinate, nearest first and annotated with `distanceKm`. Pages through at most the 500 nearest: at 500 `next_cursor` is null. GET /v1/pharmacy/pharmacies/nearby on Nöbetçi Eczane (SBX-ECZ). Costs 2 credits per call.
| Parameter | Type | Description |
|---|---|---|
| q | string | Alias for `name`. |
| lat * | number | Latitude of the search center (WGS84). |
| lon * | number | Longitude of the search center (WGS84). |
| city | string | Filter by city name (case- and accent-insensitive). Up to 120 characters. |
| duty | boolean | Filter to on-duty (`true`) or off-duty (`false`) pharmacies. Omit to return both. |
| name | string | Turkish-aware substring match on pharmacy name. Up to 120 characters. `q` is an alias for this parameter. |
| limit | integer | Maximum number of items on this page. |
| cursor | string | Opaque; the `next_cursor` of the previous page. Keep every other parameter unchanged, or the call is a 400. |
| district | string | Filter by district name (case- and accent-insensitive). Up to 120 characters. |
| radiusKm | number | Search radius in kilometers. |
| activelyOnDuty | boolean | `true` = duty shift active now (Europe/Istanbul, start inclusive, end exclusive); `false` = not active now. Such answers carry `Cache-Control: no-store`, no `ETag`, and are never answered `304`. `false` does not mean closed. |
{
"name": "pharmacy_findNearbyPharmacies",
"title": "Nöbetçi Eczane: Find nearby pharmacies",
"description": "Find nearby pharmacies\n\nPharmacies within a radius of a coordinate, nearest first and annotated with `distanceKm`. Pages through at most the 500 nearest: at 500 `next_cursor` is null.\n\nGET /v1/pharmacy/pharmacies/nearby on Nöbetçi Eczane (SBX-ECZ). Costs 2 credits per call.",
"inputSchema": {
"type": "object",
"required": [
"lat",
"lon"
],
"properties": {
"q": {
"type": "string",
"maxLength": 120,
"description": "Alias for `name`."
},
"lat": {
"type": "number",
"maximum": 90,
"minimum": -90,
"description": "Latitude of the search center (WGS84)."
},
"lon": {
"type": "number",
"maximum": 180,
"minimum": -180,
"description": "Longitude of the search center (WGS84)."
},
"city": {
"type": "string",
"maxLength": 120,
"description": "Filter by city name (case- and accent-insensitive). Up to 120 characters."
},
"duty": {
"type": "boolean",
"description": "Filter to on-duty (`true`) or off-duty (`false`) pharmacies. Omit to return both."
},
"name": {
"type": "string",
"maxLength": 120,
"description": "Turkish-aware substring match on pharmacy name. Up to 120 characters. `q` is an alias for this parameter."
},
"limit": {
"type": "integer",
"default": 50,
"maximum": 200,
"minimum": 1,
"description": "Maximum number of items on this page."
},
"cursor": {
"type": "string",
"description": "Opaque; the `next_cursor` of the previous page. Keep every other parameter unchanged, or the call is a 400."
},
"district": {
"type": "string",
"maxLength": 120,
"description": "Filter by district name (case- and accent-insensitive). Up to 120 characters."
},
"radiusKm": {
"type": "number",
"default": 5,
"maximum": 500,
"minimum": 0.1,
"description": "Search radius in kilometers."
},
"activelyOnDuty": {
"type": "boolean",
"description": "`true` = duty shift active now (Europe/Istanbul, start inclusive, end exclusive); `false` = not active now. Such answers carry `Cache-Control: no-store`, no `ETag`, and are never answered `304`. `false` does not mean closed."
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}List on-duty pharmacies Pharmacies currently on duty, sorted by city. Always returns on-duty pharmacies only — the shared `duty` filter does not apply here. GET /v1/pharmacy/pharmacies/on-duty on Nöbetçi Eczane (SBX-ECZ). Costs 1 credit per call.
| Parameter | Type | Description |
|---|---|---|
| q | string | Alias for `name`. |
| city | string | Filter by city name (case- and accent-insensitive). Up to 120 characters. |
| name | string | Turkish-aware substring match on pharmacy name. Up to 120 characters. `q` is an alias for this parameter. |
| limit | integer | Maximum number of items on this page. |
| cursor | string | Opaque; the `next_cursor` of the previous page. Keep every other parameter unchanged, or the call is a 400. |
| district | string | Filter by district name (case- and accent-insensitive). Up to 120 characters. |
| activelyOnDuty | boolean | `true` = duty shift active now (Europe/Istanbul, start inclusive, end exclusive); `false` = not active now. Such answers carry `Cache-Control: no-store`, no `ETag`, and are never answered `304`. `false` does not mean closed. |
{
"name": "pharmacy_listDutyPharmacies",
"title": "Nöbetçi Eczane: List on-duty pharmacies",
"description": "List on-duty pharmacies\n\nPharmacies currently on duty, sorted by city. Always returns on-duty pharmacies only — the shared `duty` filter does not apply here.\n\nGET /v1/pharmacy/pharmacies/on-duty on Nöbetçi Eczane (SBX-ECZ). Costs 1 credit per call.",
"inputSchema": {
"type": "object",
"properties": {
"q": {
"type": "string",
"maxLength": 120,
"description": "Alias for `name`."
},
"city": {
"type": "string",
"maxLength": 120,
"description": "Filter by city name (case- and accent-insensitive). Up to 120 characters."
},
"name": {
"type": "string",
"maxLength": 120,
"description": "Turkish-aware substring match on pharmacy name. Up to 120 characters. `q` is an alias for this parameter."
},
"limit": {
"type": "integer",
"default": 50,
"maximum": 200,
"minimum": 1,
"description": "Maximum number of items on this page."
},
"cursor": {
"type": "string",
"description": "Opaque; the `next_cursor` of the previous page. Keep every other parameter unchanged, or the call is a 400."
},
"district": {
"type": "string",
"maxLength": 120,
"description": "Filter by district name (case- and accent-insensitive). Up to 120 characters."
},
"activelyOnDuty": {
"type": "boolean",
"description": "`true` = duty shift active now (Europe/Istanbul, start inclusive, end exclusive); `false` = not active now. Such answers carry `Cache-Control: no-store`, no `ETag`, and are never answered `304`. `false` does not mean closed."
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Get a pharmacy by id A single pharmacy by its numeric id. GET /v1/pharmacy/pharmacies/{id} on Nöbetçi Eczane (SBX-ECZ). Costs 1 credit per call.
| Parameter | Type | Description |
|---|---|---|
| id * | string | Positive integer pharmacy id. |
{
"name": "pharmacy_getPharmacy",
"title": "Nöbetçi Eczane: Get a pharmacy by id",
"description": "Get a pharmacy by id\n\nA single pharmacy by its numeric id.\n\nGET /v1/pharmacy/pharmacies/{id} on Nöbetçi Eczane (SBX-ECZ). Costs 1 credit per call.",
"inputSchema": {
"type": "object",
"required": [
"id"
],
"properties": {
"id": {
"type": "string",
"minLength": 1,
"description": "Positive integer pharmacy id."
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}List card campaigns The current campaigns of Turkish credit-card programs — Wings, World, Bonus, Maximum and Axess — read daily from the programs' public campaign pages: installment offers, discounts, points (chip-para, Bonus, Worldpuan, MaxiPuan, miles) and prize draws, with the merchant, dates, amounts parsed from the headline, our sector tags and audience segments (student, traveler, driver, homemaker, …). Filter by `card`, `sector`, `segment`, `reward`, `brand`, a text search `q` (Turkish letters optional), and `ending_within` days; `status=ended` lists what ended in the last week. Soonest to end first. Use when the user asks what campaigns, discounts, installment offers or points their card has, for a shop or brand, for a kind of spending (market, fuel, travel, clothing), or for a kind of person; link the `url` for the terms — the program's page is authoritative. GET /v1/deals/campaigns on Card Campaigns & Deals (SBX-FIRSAT). Costs 1 credit per call.
| Parameter | Type | Description |
|---|---|---|
| q | string | Words to find at the start of words of the title, brand or summary; Turkish letters optional: `market`, `akaryakit`, `trendyol`. |
| card | string | Comma-separated card program ids from /deals/cards, e.g. bonus,axess. |
| brand | string | A merchant name as it appears in `brand`, e.g. Trendyol (case-insensitive). |
| limit | integer | Items per page, 1–200. |
| cursor | string | The `next_cursor` of the previous page, with the same filters. |
| reward | string | Comma-separated reward types (any of): installment, discount, points, draw, other. |
| sector | string | Comma-separated sector ids from /deals/sectors (any of), e.g. grocery,dining. |
| status | string | `active` (default), `ended` (ended within the last 7 days) or `all`. |
| segment | string | Comma-separated segment ids from /deals/segments (any of), e.g. student,traveler. |
| ending_within | integer | Only active campaigns ending within this many days (1–60), soonest first. |
{
"name": "deals_listCampaigns",
"title": "Card Campaigns & Deals: List card campaigns",
"description": "List card campaigns\n\nThe current campaigns of Turkish credit-card programs — Wings, World, Bonus, Maximum and Axess — read daily from the programs' public campaign pages: installment offers, discounts, points (chip-para, Bonus, Worldpuan, MaxiPuan, miles) and prize draws, with the merchant, dates, amounts parsed from the headline, our sector tags and audience segments (student, traveler, driver, homemaker, …). Filter by `card`, `sector`, `segment`, `reward`, `brand`, a text search `q` (Turkish letters optional), and `ending_within` days; `status=ended` lists what ended in the last week. Soonest to end first. Use when the user asks what campaigns, discounts, installment offers or points their card has, for a shop or brand, for a kind of spending (market, fuel, travel, clothing), or for a kind of person; link the `url` for the terms — the program's page is authoritative.\n\nGET /v1/deals/campaigns on Card Campaigns & Deals (SBX-FIRSAT). Costs 1 credit per call.",
"inputSchema": {
"type": "object",
"properties": {
"q": {
"type": "string",
"description": "Words to find at the start of words of the title, brand or summary; Turkish letters optional: `market`, `akaryakit`, `trendyol`."
},
"card": {
"type": "string",
"description": "Comma-separated card program ids from /deals/cards, e.g. bonus,axess."
},
"brand": {
"type": "string",
"description": "A merchant name as it appears in `brand`, e.g. Trendyol (case-insensitive)."
},
"limit": {
"type": "integer",
"default": 50,
"maximum": 200,
"minimum": 1,
"description": "Items per page, 1–200."
},
"cursor": {
"type": "string",
"description": "The `next_cursor` of the previous page, with the same filters."
},
"reward": {
"type": "string",
"description": "Comma-separated reward types (any of): installment, discount, points, draw, other."
},
"sector": {
"type": "string",
"description": "Comma-separated sector ids from /deals/sectors (any of), e.g. grocery,dining."
},
"status": {
"enum": [
"active",
"ended",
"all"
],
"type": "string",
"default": "active",
"description": "`active` (default), `ended` (ended within the last 7 days) or `all`."
},
"segment": {
"type": "string",
"description": "Comma-separated segment ids from /deals/segments (any of), e.g. student,traveler."
},
"ending_within": {
"type": "integer",
"maximum": 60,
"minimum": 1,
"description": "Only active campaigns ending within this many days (1–60), soonest first."
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Get a campaign One campaign by its id from /deals/campaigns, e.g. bonus:bauhaus-yapi-taksit-kampanyasi. Ended campaigns stay for 7 days, then 404. GET /v1/deals/campaigns/{id} on Card Campaigns & Deals (SBX-FIRSAT). Costs 1 credit per call.
| Parameter | Type | Description |
|---|---|---|
| id * | string | A campaign id, `<card>:<slug>`. |
{
"name": "deals_getCampaign",
"title": "Card Campaigns & Deals: Get a campaign",
"description": "Get a campaign\n\nOne campaign by its id from /deals/campaigns, e.g. bonus:bauhaus-yapi-taksit-kampanyasi. Ended campaigns stay for 7 days, then 404.\n\nGET /v1/deals/campaigns/{id} on Card Campaigns & Deals (SBX-FIRSAT). Costs 1 credit per call.",
"inputSchema": {
"type": "object",
"required": [
"id"
],
"properties": {
"id": {
"type": "string",
"minLength": 1,
"description": "A campaign id, `<card>:<slug>`."
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}List card programs The five card programs covered — Wings (Şekerbank), World (Yapı Kredi), Bonus (Garanti BBVA), Maximum (İşbank), Axess (Akbank) — with their active campaign count, when each program's page was last read completely (`lastUpdated`), and the attribution to show. Free. GET /v1/deals/cards on Card Campaigns & Deals (SBX-FIRSAT). Costs 0 credits per call.
No parameters.
{
"name": "deals_listCards",
"title": "Card Campaigns & Deals: List card programs",
"description": "List card programs\n\nThe five card programs covered — Wings (Şekerbank), World (Yapı Kredi), Bonus (Garanti BBVA), Maximum (İşbank), Axess (Akbank) — with their active campaign count, when each program's page was last read completely (`lastUpdated`), and the attribution to show. Free.\n\nGET /v1/deals/cards on Card Campaigns & Deals (SBX-FIRSAT). Costs 0 credits per call.",
"inputSchema": {
"type": "object",
"properties": {},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}List sectors What a campaign is for — grocery, fuel & automotive, fashion, electronics, home, travel, dining, education, health, entertainment, online shopping, insurance, bills & taxes, card services, other — in English and Turkish, with active counts. Free. GET /v1/deals/sectors on Card Campaigns & Deals (SBX-FIRSAT). Costs 0 credits per call.
No parameters.
{
"name": "deals_listSectors",
"title": "Card Campaigns & Deals: List sectors",
"description": "List sectors\n\nWhat a campaign is for — grocery, fuel & automotive, fashion, electronics, home, travel, dining, education, health, entertainment, online shopping, insurance, bills & taxes, card services, other — in English and Turkish, with active counts. Free.\n\nGET /v1/deals/sectors on Card Campaigns & Deals (SBX-FIRSAT). Costs 0 credits per call.",
"inputSchema": {
"type": "object",
"properties": {},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}List audience segments Who a campaign is for — students, parents, travellers, people spending abroad, car owners, home makers, fashion and tech shoppers, online shoppers, diners, grocery shoppers, culture, health & sport, pet owners, football fans, bill payers, mobile/QR payers, new card applicants — in English and Turkish, with active counts. Free. GET /v1/deals/segments on Card Campaigns & Deals (SBX-FIRSAT). Costs 0 credits per call.
No parameters.
{
"name": "deals_listSegments",
"title": "Card Campaigns & Deals: List audience segments",
"description": "List audience segments\n\nWho a campaign is for — students, parents, travellers, people spending abroad, car owners, home makers, fashion and tech shoppers, online shoppers, diners, grocery shoppers, culture, health & sport, pet owners, football fans, bill payers, mobile/QR payers, new card applicants — in English and Turkish, with active counts. Free.\n\nGET /v1/deals/segments on Card Campaigns & Deals (SBX-FIRSAT). Costs 0 credits per call.",
"inputSchema": {
"type": "object",
"properties": {},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}List funds Every Turkish investment fund, pension fund and ETF TEFAS lists, with the latest price, size, investors, returns, fees and risk. Filter by `type`, `category`, `founder`, `codes`, a text search `q` (code or title, Turkish letters optional), `tefas` and `riskLevel`; sort by size, investors, a return period, fee, code or name. Active funds only unless `status=all`. Updated every morning from TEFAS. Use for questions about Turkish mutual funds, hedge funds, private pension (BES) funds or ETFs: finding a fund by name or company, the best performers over a period, the largest funds, or the lowest fees. GET /v1/funds on Turkish funds (SBX-FON). Costs 1 credit per call.
| Parameter | Type | Description |
|---|---|---|
| q | string | Words to find at the start of words of the code or the Turkish or English title; Turkish letters optional: `altin` finds ALTIN and Altın, `tekno` TEKNOLOJİ. |
| sort | string | Sort key. Default `aum` (fund size). |
| type | string | Only this type. |
| codes | string | Comma-separated fund codes (up to 100), e.g. AAL,TTE. |
| limit | integer | Items per page, 1–200. |
| order | string | `desc` or `asc`; default `asc` for fee, code and name, else `desc`. Funds without the sort value come last. |
| tefas | string | `true`: only funds traded on the TEFAS platform; `false`: only those that are not. |
| cursor | string | The `next_cursor` of the previous page, with the same filters. |
| status | string | `active` (default) or `all` (also funds no longer priced). |
| founder | string | A company code from /funds/founders, e.g. ISP. |
| category | string | A category id from /funds/categories, e.g. para-piyasasi-semsiye-fonu. |
| riskLevel | integer | Only this risk value, 1–7. |
{
"name": "funds_listFunds",
"title": "Turkish funds: List funds",
"description": "List funds\n\nEvery Turkish investment fund, pension fund and ETF TEFAS lists, with the latest price, size, investors, returns, fees and risk. Filter by `type`, `category`, `founder`, `codes`, a text search `q` (code or title, Turkish letters optional), `tefas` and `riskLevel`; sort by size, investors, a return period, fee, code or name. Active funds only unless `status=all`. Updated every morning from TEFAS. Use for questions about Turkish mutual funds, hedge funds, private pension (BES) funds or ETFs: finding a fund by name or company, the best performers over a period, the largest funds, or the lowest fees.\n\nGET /v1/funds on Turkish funds (SBX-FON). Costs 1 credit per call.",
"inputSchema": {
"type": "object",
"properties": {
"q": {
"type": "string",
"description": "Words to find at the start of words of the code or the Turkish or English title; Turkish letters optional: `altin` finds ALTIN and Altın, `tekno` TEKNOLOJİ."
},
"sort": {
"enum": [
"aum",
"investors",
"return-1m",
"return-3m",
"return-6m",
"return-ytd",
"return-1y",
"return-3y",
"return-5y",
"fee",
"code",
"name"
],
"type": "string",
"default": "aum",
"description": "Sort key. Default `aum` (fund size)."
},
"type": {
"enum": [
"investment",
"pension",
"exchange-traded"
],
"type": "string",
"description": "Only this type."
},
"codes": {
"type": "string",
"description": "Comma-separated fund codes (up to 100), e.g. AAL,TTE."
},
"limit": {
"type": "integer",
"default": 50,
"maximum": 200,
"minimum": 1,
"description": "Items per page, 1–200."
},
"order": {
"enum": [
"asc",
"desc"
],
"type": "string",
"description": "`desc` or `asc`; default `asc` for fee, code and name, else `desc`. Funds without the sort value come last."
},
"tefas": {
"enum": [
"true",
"false"
],
"type": "string",
"description": "`true`: only funds traded on the TEFAS platform; `false`: only those that are not."
},
"cursor": {
"type": "string",
"description": "The `next_cursor` of the previous page, with the same filters."
},
"status": {
"enum": [
"active",
"all"
],
"type": "string",
"default": "active",
"description": "`active` (default) or `all` (also funds no longer priced)."
},
"founder": {
"type": "string",
"description": "A company code from /funds/founders, e.g. ISP."
},
"category": {
"type": "string",
"description": "A category id from /funds/categories, e.g. para-piyasasi-semsiye-fonu."
},
"riskLevel": {
"type": "integer",
"maximum": 7,
"minimum": 1,
"description": "Only this risk value, 1–7."
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}List fund categories The categories TEFAS uses per fund type — umbrella fund types for investment funds, fund kinds for pension funds and ETFs — in English and Turkish, with how many active funds each has. Free. GET /v1/funds/categories on Turkish funds (SBX-FON). Costs 0 credits per call.
No parameters.
{
"name": "funds_listFundCategories",
"title": "Turkish funds: List fund categories",
"description": "List fund categories\n\nThe categories TEFAS uses per fund type — umbrella fund types for investment funds, fund kinds for pension funds and ETFs — in English and Turkish, with how many active funds each has. Free.\n\nGET /v1/funds/categories on Turkish funds (SBX-FON). Costs 0 credits per call.",
"inputSchema": {
"type": "object",
"properties": {},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}List fund companies Portfolio management and pension companies with their number of active funds and total fund value, largest first. Free. GET /v1/funds/founders on Turkish funds (SBX-FON). Costs 0 credits per call.
| Parameter | Type | Description |
|---|---|---|
| type | string | Only this type. |
{
"name": "funds_listFundFounders",
"title": "Turkish funds: List fund companies",
"description": "List fund companies\n\nPortfolio management and pension companies with their number of active funds and total fund value, largest first. Free.\n\nGET /v1/funds/founders on Turkish funds (SBX-FON). Costs 0 credits per call.",
"inputSchema": {
"type": "object",
"properties": {
"type": {
"enum": [
"investment",
"pension",
"exchange-traded"
],
"type": "string",
"description": "Only this type."
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Get a fund One fund: the latest price, size, investors, returns, fees and risk, and its portfolio allocation by asset class (stocks, government bonds, reverse repo, deposits, precious metals, foreign securities…). Use when the user names a fund code (e.g. TTE, AAL) or asks what a fund invests in. GET /v1/funds/{code} on Turkish funds (SBX-FON). Costs 1 credit per call.
| Parameter | Type | Description |
|---|---|---|
| code * | string | A TEFAS fund code, e.g. AAL. |
{
"name": "funds_getFund",
"title": "Turkish funds: Get a fund",
"description": "Get a fund\n\nOne fund: the latest price, size, investors, returns, fees and risk, and its portfolio allocation by asset class (stocks, government bonds, reverse repo, deposits, precious metals, foreign securities…). Use when the user names a fund code (e.g. TTE, AAL) or asks what a fund invests in.\n\nGET /v1/funds/{code} on Turkish funds (SBX-FON). Costs 1 credit per call.",
"inputSchema": {
"type": "object",
"required": [
"code"
],
"properties": {
"code": {
"type": "string",
"minLength": 1,
"description": "A TEFAS fund code, e.g. AAL."
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Daily price history One fund's daily price, shares, investors and size between `start` and `end` (inclusive; default the 30 days up to its latest price; at most 1,830 days per request), oldest first, with `meta.changePercent` over the range. History since October 2021. Use for a fund's price history or its change over a period. GET /v1/funds/{code}/prices on Turkish funds (SBX-FON). Costs 1 credit per call.
| Parameter | Type | Description |
|---|---|---|
| end | string | YYYY-MM-DD. Default: the fund's latest price date. |
| code * | string | A TEFAS fund code, e.g. AAL. |
| start | string | YYYY-MM-DD. |
{
"name": "funds_getFundPrices",
"title": "Turkish funds: Daily price history",
"description": "Daily price history\n\nOne fund's daily price, shares, investors and size between `start` and `end` (inclusive; default the 30 days up to its latest price; at most 1,830 days per request), oldest first, with `meta.changePercent` over the range. History since October 2021. Use for a fund's price history or its change over a period.\n\nGET /v1/funds/{code}/prices on Turkish funds (SBX-FON). Costs 1 credit per call.",
"inputSchema": {
"type": "object",
"required": [
"code"
],
"properties": {
"end": {
"type": "string",
"format": "date",
"description": "YYYY-MM-DD. Default: the fund's latest price date."
},
"code": {
"type": "string",
"minLength": 1,
"description": "A TEFAS fund code, e.g. AAL."
},
"start": {
"type": "string",
"format": "date",
"description": "YYYY-MM-DD."
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Convert an amount `amount` of `from` in `to` at the official rate on `date` (default: latest). TCMB is used when it publishes both currencies (TRY included), else ECB (EUR included). With TCMB, `rateType` picks the rate each currency is valued at in TRY: `mid` (default, the forex buying/selling midpoint), `buying` or `selling`. Use to convert an amount between currencies at the official rate, e.g. 100 USD in TRY or 50 EUR in USD. GET /v1/fx/conversions on Currencies (SBX-FX). Costs 1 credit per call.
| Parameter | Type | Description |
|---|---|---|
| to * | string | ISO 4217 code. |
| date | string | YYYY-MM-DD. Default: the latest bulletin. |
| from * | string | ISO 4217 code. |
| amount | number | Default 1. |
| source | string | Force `tcmb` or `ecb`. |
| rateType | string | TCMB only: `mid`, `buying` or `selling`. |
{
"name": "fx_convertCurrency",
"title": "Currencies: Convert an amount",
"description": "Convert an amount\n\n`amount` of `from` in `to` at the official rate on `date` (default: latest). TCMB is used when it publishes both currencies (TRY included), else ECB (EUR included). With TCMB, `rateType` picks the rate each currency is valued at in TRY: `mid` (default, the forex buying/selling midpoint), `buying` or `selling`. Use to convert an amount between currencies at the official rate, e.g. 100 USD in TRY or 50 EUR in USD.\n\nGET /v1/fx/conversions on Currencies (SBX-FX). Costs 1 credit per call.",
"inputSchema": {
"type": "object",
"required": [
"from",
"to"
],
"properties": {
"to": {
"type": "string",
"description": "ISO 4217 code."
},
"date": {
"type": "string",
"format": "date",
"description": "YYYY-MM-DD. Default: the latest bulletin."
},
"from": {
"type": "string",
"description": "ISO 4217 code."
},
"amount": {
"type": "number",
"default": 1,
"minimum": 0,
"description": "Default 1."
},
"source": {
"enum": [
"tcmb",
"ecb"
],
"type": "string",
"description": "Force `tcmb` or `ecb`."
},
"rateType": {
"enum": [
"mid",
"buying",
"selling"
],
"type": "string",
"default": "mid",
"description": "TCMB only: `mid`, `buying` or `selling`."
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}List currencies Every currency TCMB or ECB publishes, with the first and latest date each has. Free. GET /v1/fx/currencies on Currencies (SBX-FX). Costs 0 credits per call.
No parameters.
{
"name": "fx_listCurrencies",
"title": "Currencies: List currencies",
"description": "List currencies\n\nEvery currency TCMB or ECB publishes, with the first and latest date each has. Free.\n\nGET /v1/fx/currencies on Currencies (SBX-FX). Costs 0 credits per call.",
"inputSchema": {
"type": "object",
"properties": {},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Rates on a date Every currency's official rate on `date` (default: the latest bulletin). TCMB: the indicative forex and banknote buying/selling rates in TRY, published at 15:30 Istanbul time on business days. ECB: the euro reference rates, published around 16:00 CET. A date without a bulletin (weekend, holiday) answers the latest one before it; `meta.date` says which. Use for the official (central-bank reference) exchange rate — e.g. "what is the USD/TRY rate", the TCMB rate, or a rate on a past date. These are not a bank's own buying/selling prices: for what a bank charges, use the bank exchange rate tools. GET /v1/fx/rates on Currencies (SBX-FX). Costs 1 credit per call.
| Parameter | Type | Description |
|---|---|---|
| date | string | YYYY-MM-DD. Default: the latest bulletin. |
| source | string | `tcmb` (default: Turkish central bank, TRY rates since 2005) or `ecb` (European Central Bank, EUR rates since 1999). |
| currencies | string | Comma-separated ISO 4217 codes to include, e.g. USD,EUR. |
{
"name": "fx_listRates",
"title": "Currencies: Rates on a date",
"description": "Rates on a date\n\nEvery currency's official rate on `date` (default: the latest bulletin). TCMB: the indicative forex and banknote buying/selling rates in TRY, published at 15:30 Istanbul time on business days. ECB: the euro reference rates, published around 16:00 CET. A date without a bulletin (weekend, holiday) answers the latest one before it; `meta.date` says which. Use for the official (central-bank reference) exchange rate — e.g. \"what is the USD/TRY rate\", the TCMB rate, or a rate on a past date. These are not a bank's own buying/selling prices: for what a bank charges, use the bank exchange rate tools.\n\nGET /v1/fx/rates on Currencies (SBX-FX). Costs 1 credit per call.",
"inputSchema": {
"type": "object",
"properties": {
"date": {
"type": "string",
"format": "date",
"description": "YYYY-MM-DD. Default: the latest bulletin."
},
"source": {
"enum": [
"tcmb",
"ecb"
],
"type": "string",
"default": "tcmb",
"description": "`tcmb` (default: Turkish central bank, TRY rates since 2005) or `ecb` (European Central Bank, EUR rates since 1999)."
},
"currencies": {
"type": "string",
"description": "Comma-separated ISO 4217 codes to include, e.g. USD,EUR."
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}One currency over time One currency's rate on every bulletin between `start` and `end` (default: the last 30 days; at most 366 days). Use for how a currency's official rate moved over days or months, e.g. USD/TRY over the last month. GET /v1/fx/rates/{code} on Currencies (SBX-FX). Costs 1 credit per call.
| Parameter | Type | Description |
|---|---|---|
| end | string | YYYY-MM-DD. Default: today. |
| code * | string | ISO 4217 code, e.g. USD. |
| start | string | YYYY-MM-DD. |
| source | string | `tcmb` (default: Turkish central bank, TRY rates since 2005) or `ecb` (European Central Bank, EUR rates since 1999). |
{
"name": "fx_getCurrencyHistory",
"title": "Currencies: One currency over time",
"description": "One currency over time\n\nOne currency's rate on every bulletin between `start` and `end` (default: the last 30 days; at most 366 days). Use for how a currency's official rate moved over days or months, e.g. USD/TRY over the last month.\n\nGET /v1/fx/rates/{code} on Currencies (SBX-FX). Costs 1 credit per call.",
"inputSchema": {
"type": "object",
"required": [
"code"
],
"properties": {
"end": {
"type": "string",
"format": "date",
"description": "YYYY-MM-DD. Default: today."
},
"code": {
"type": "string",
"minLength": 1,
"description": "ISO 4217 code, e.g. USD."
},
"start": {
"type": "string",
"format": "date",
"description": "YYYY-MM-DD."
},
"source": {
"enum": [
"tcmb",
"ecb"
],
"type": "string",
"default": "tcmb",
"description": "`tcmb` (default: Turkish central bank, TRY rates since 2005) or `ecb` (European Central Bank, EUR rates since 1999)."
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}List commodities Every commodity series: daily energy spot prices (EIA) and monthly prices of metals, energy, agriculture, fertilizers and raw materials (World Bank), with the span held. Free. GET /v1/gold/commodities on Gold & commodities (SBX-GOLD). Costs 0 credits per call.
| Parameter | Type | Description |
|---|---|---|
| category | string | Only this category. |
{
"name": "gold_listCommodities",
"title": "Gold & commodities: List commodities",
"description": "List commodities\n\nEvery commodity series: daily energy spot prices (EIA) and monthly prices of metals, energy, agriculture, fertilizers and raw materials (World Bank), with the span held. Free.\n\nGET /v1/gold/commodities on Gold & commodities (SBX-GOLD). Costs 0 credits per call.",
"inputSchema": {
"type": "object",
"properties": {
"category": {
"enum": [
"energy",
"precious-metals",
"base-metals",
"agriculture",
"fertilizers",
"raw-materials"
],
"type": "string",
"description": "Only this category."
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Latest commodity prices Each series' latest price and the one before it, with the change. EIA's daily prices are released weekly (Wednesdays), the World Bank's monthly averages in the first days of each month. GET /v1/gold/commodity-prices on Gold & commodities (SBX-GOLD). Costs 1 credit per call.
| Parameter | Type | Description |
|---|---|---|
| codes | string | Comma-separated codes from /gold/commodities, e.g. brent,wti,gold. Default: every series. |
| category | string | Only this category. |
{
"name": "gold_listLatestCommodityPrices",
"title": "Gold & commodities: Latest commodity prices",
"description": "Latest commodity prices\n\nEach series' latest price and the one before it, with the change. EIA's daily prices are released weekly (Wednesdays), the World Bank's monthly averages in the first days of each month.\n\nGET /v1/gold/commodity-prices on Gold & commodities (SBX-GOLD). Costs 1 credit per call.",
"inputSchema": {
"type": "object",
"properties": {
"codes": {
"type": "string",
"description": "Comma-separated codes from /gold/commodities, e.g. brent,wti,gold. Default: every series."
},
"category": {
"enum": [
"energy",
"precious-metals",
"base-metals",
"agriculture",
"fertilizers",
"raw-materials"
],
"type": "string",
"description": "Only this category."
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}One commodity over time One series between `start` and `end`. Daily series: at most 366 days (default: the last 30). Monthly series: YYYY-MM or YYYY-MM-DD, at most 600 months (default: the last 24). GET /v1/gold/commodity-prices/{code} on Gold & commodities (SBX-GOLD). Costs 1 credit per call.
| Parameter | Type | Description |
|---|---|---|
| end | string | YYYY-MM-DD (monthly series: also YYYY-MM). Default: today. |
| code * | string | A code from /gold/commodities, e.g. brent. |
| start | string | YYYY-MM-DD (monthly series: also YYYY-MM). |
{
"name": "gold_getCommodityHistory",
"title": "Gold & commodities: One commodity over time",
"description": "One commodity over time\n\nOne series between `start` and `end`. Daily series: at most 366 days (default: the last 30). Monthly series: YYYY-MM or YYYY-MM-DD, at most 600 months (default: the last 24).\n\nGET /v1/gold/commodity-prices/{code} on Gold & commodities (SBX-GOLD). Costs 1 credit per call.",
"inputSchema": {
"type": "object",
"required": [
"code"
],
"properties": {
"end": {
"type": "string",
"description": "YYYY-MM-DD (monthly series: also YYYY-MM). Default: today."
},
"code": {
"type": "string",
"minLength": 1,
"description": "A code from /gold/commodities, e.g. brent."
},
"start": {
"type": "string",
"description": "YYYY-MM-DD (monthly series: also YYYY-MM)."
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Gold prices on a date The intrinsic value of gram gold (24, 22, 18 and 14 karat), the troy ounce and the Turkish coins (çeyrek, yarım, tam, ikibuçuk, beşli, Cumhuriyet, Ata beşli) on `date` (default: the latest price), from the price of 1 g of fine gold calculated by Narodowy Bank Polski each Polish business day. USD and EUR use NBP's mid rates of that day; TRY goes through USD at TCMB's forex midpoint of the latest bulletin on or before that day (`meta.rates`). These are melt values, without workmanship or a dealer's spread. Use for gram gold, ounce or Turkish gold coin (çeyrek, yarım, tam, Cumhuriyet) values in TRY, USD or EUR. They are intrinsic values, not a jeweller's buying/selling price. GET /v1/gold/prices on Gold & commodities (SBX-GOLD). Costs 1 credit per call.
| Parameter | Type | Description |
|---|---|---|
| date | string | YYYY-MM-DD, since 2013-01-02. A day without a price answers the latest one before it (`meta.date`). |
| currency | string | `TRY` (default), `USD` or `EUR`. |
{
"name": "gold_listGoldPrices",
"title": "Gold & commodities: Gold prices on a date",
"description": "Gold prices on a date\n\nThe intrinsic value of gram gold (24, 22, 18 and 14 karat), the troy ounce and the Turkish coins (çeyrek, yarım, tam, ikibuçuk, beşli, Cumhuriyet, Ata beşli) on `date` (default: the latest price), from the price of 1 g of fine gold calculated by Narodowy Bank Polski each Polish business day. USD and EUR use NBP's mid rates of that day; TRY goes through USD at TCMB's forex midpoint of the latest bulletin on or before that day (`meta.rates`). These are melt values, without workmanship or a dealer's spread. Use for gram gold, ounce or Turkish gold coin (çeyrek, yarım, tam, Cumhuriyet) values in TRY, USD or EUR. They are intrinsic values, not a jeweller's buying/selling price.\n\nGET /v1/gold/prices on Gold & commodities (SBX-GOLD). Costs 1 credit per call.",
"inputSchema": {
"type": "object",
"properties": {
"date": {
"type": "string",
"format": "date",
"description": "YYYY-MM-DD, since 2013-01-02. A day without a price answers the latest one before it (`meta.date`)."
},
"currency": {
"enum": [
"TRY",
"USD",
"EUR"
],
"type": "string",
"default": "TRY",
"description": "`TRY` (default), `USD` or `EUR`."
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}One product over time One product's intrinsic value on every NBP business day between `start` and `end` (default: the last 30 days; at most 366 days), since 2013-01-02. GET /v1/gold/prices/{product} on Gold & commodities (SBX-GOLD). Costs 1 credit per call.
| Parameter | Type | Description |
|---|---|---|
| end | string | YYYY-MM-DD. Default: today. |
| start | string | YYYY-MM-DD. |
| product * | string | A product id from /gold/products, e.g. gram-24k or ceyrek. |
| currency | string | `TRY` (default), `USD` or `EUR`. |
{
"name": "gold_getGoldPriceHistory",
"title": "Gold & commodities: One product over time",
"description": "One product over time\n\nOne product's intrinsic value on every NBP business day between `start` and `end` (default: the last 30 days; at most 366 days), since 2013-01-02.\n\nGET /v1/gold/prices/{product} on Gold & commodities (SBX-GOLD). Costs 1 credit per call.",
"inputSchema": {
"type": "object",
"required": [
"product"
],
"properties": {
"end": {
"type": "string",
"format": "date",
"description": "YYYY-MM-DD. Default: today."
},
"start": {
"type": "string",
"format": "date",
"description": "YYYY-MM-DD."
},
"product": {
"type": "string",
"minLength": 1,
"description": "A product id from /gold/products, e.g. gram-24k or ceyrek."
},
"currency": {
"enum": [
"TRY",
"USD",
"EUR"
],
"type": "string",
"default": "TRY",
"description": "`TRY` (default), `USD` or `EUR`."
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}List gold products Gram gold by karat, the troy ounce and the Turkish coins, with their weight and fine-gold content. Free. GET /v1/gold/products on Gold & commodities (SBX-GOLD). Costs 0 credits per call.
No parameters.
{
"name": "gold_listGoldProducts",
"title": "Gold & commodities: List gold products",
"description": "List gold products\n\nGram gold by karat, the troy ounce and the Turkish coins, with their weight and fine-gold content. Free.\n\nGET /v1/gold/products on Gold & commodities (SBX-GOLD). Costs 0 credits per call.",
"inputSchema": {
"type": "object",
"properties": {},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}List authority types The kinds of buying authority (ministries, municipalities, universities, state-owned enterprises…). Free. GET /v1/public-procurement/authority-types on Public procurement statistics (SBX-IHALE). Costs 0 credits per call.
No parameters.
{
"name": "public-procurement_listAuthorityTypes",
"title": "Public procurement statistics: List authority types",
"description": "List authority types\n\nThe kinds of buying authority (ministries, municipalities, universities, state-owned enterprises…). Free.\n\nGET /v1/public-procurement/authority-types on Public procurement statistics (SBX-IHALE). Costs 0 credits per call.",
"inputSchema": {
"type": "object",
"properties": {},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Competition Tender competition per year: the number of tenders, the share won with a single bid (overall and for single-lot tenders), average lots and the average discount against the estimated cost — for the whole country or per province, sector, tender procedure or authority type. Robust for 2019–2024; the source's 2025–2026 result details are partial. GET /v1/public-procurement/competition-indices on Public procurement statistics (SBX-IHALE). Costs 1 credit per call.
| Parameter | Type | Description |
|---|---|---|
| limit | integer | Items per page, 1–200. |
| cursor | string | The `next_cursor` of the previous page, with the same filters. |
| period | string | A year (2019–) or `all` (every year pooled). Default: every year and `all`. |
| subject | string | One subject of the dimension: a province's plate code or name (34, İstanbul), a sector id or name, an authority-type id, or a procedure id. Default: every subject. |
| dimension | string | What to break down by. Default: `overall` (the whole country). |
{
"name": "public-procurement_listCompetitionIndices",
"title": "Public procurement statistics: Competition",
"description": "Competition\n\nTender competition per year: the number of tenders, the share won with a single bid (overall and for single-lot tenders), average lots and the average discount against the estimated cost — for the whole country or per province, sector, tender procedure or authority type. Robust for 2019–2024; the source's 2025–2026 result details are partial.\n\nGET /v1/public-procurement/competition-indices on Public procurement statistics (SBX-IHALE). Costs 1 credit per call.",
"inputSchema": {
"type": "object",
"properties": {
"limit": {
"type": "integer",
"default": 50,
"maximum": 200,
"minimum": 1,
"description": "Items per page, 1–200."
},
"cursor": {
"type": "string",
"description": "The `next_cursor` of the previous page, with the same filters."
},
"period": {
"type": "string",
"description": "A year (2019–) or `all` (every year pooled). Default: every year and `all`."
},
"subject": {
"type": "string",
"description": "One subject of the dimension: a province's plate code or name (34, İstanbul), a sector id or name, an authority-type id, or a procedure id. Default: every subject."
},
"dimension": {
"enum": [
"overall",
"province",
"sector",
"procedure",
"authority-type"
],
"type": "string",
"default": "overall",
"description": "What to break down by. Default: `overall` (the whole country)."
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Market concentration How concentrated contract winners are, per year: contract and firm counts, the largest 1, 4 and 10 contractors' share of value and the Herfindahl–Hirschman index — for the whole country or per province or sector. GET /v1/public-procurement/concentration-indices on Public procurement statistics (SBX-IHALE). Costs 1 credit per call.
| Parameter | Type | Description |
|---|---|---|
| limit | integer | Items per page, 1–200. |
| cursor | string | The `next_cursor` of the previous page, with the same filters. |
| period | string | A year (2019–) or `all` (every year pooled). Default: every year and `all`. |
| subject | string | One subject of the dimension: a province's plate code or name (34, İstanbul), a sector id or name, an authority-type id, or a procedure id. Default: every subject. |
| dimension | string | What to break down by. Default: `overall` (the whole country). |
{
"name": "public-procurement_listConcentrationIndices",
"title": "Public procurement statistics: Market concentration",
"description": "Market concentration\n\nHow concentrated contract winners are, per year: contract and firm counts, the largest 1, 4 and 10 contractors' share of value and the Herfindahl–Hirschman index — for the whole country or per province or sector.\n\nGET /v1/public-procurement/concentration-indices on Public procurement statistics (SBX-IHALE). Costs 1 credit per call.",
"inputSchema": {
"type": "object",
"properties": {
"limit": {
"type": "integer",
"default": 50,
"maximum": 200,
"minimum": 1,
"description": "Items per page, 1–200."
},
"cursor": {
"type": "string",
"description": "The `next_cursor` of the previous page, with the same filters."
},
"period": {
"type": "string",
"description": "A year (2019–) or `all` (every year pooled). Default: every year and `all`."
},
"subject": {
"type": "string",
"description": "One subject of the dimension: a province's plate code or name (34, İstanbul), a sector id or name, an authority-type id, or a procedure id. Default: every subject."
},
"dimension": {
"enum": [
"overall",
"province",
"sector"
],
"type": "string",
"default": "overall",
"description": "What to break down by. Default: `overall` (the whole country)."
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Source datasets and release The weekly release served, when it was loaded, and each source dataset with its row count and the citation its publisher asks for. Free. GET /v1/public-procurement/datasets on Public procurement statistics (SBX-IHALE). Costs 0 credits per call.
No parameters.
{
"name": "public-procurement_listProcurementDatasets",
"title": "Public procurement statistics: Source datasets and release",
"description": "Source datasets and release\n\nThe weekly release served, when it was loaded, and each source dataset with its row count and the citation its publisher asks for. Free.\n\nGET /v1/public-procurement/datasets on Public procurement statistics (SBX-IHALE). Costs 0 credits per call.",
"inputSchema": {
"type": "object",
"properties": {},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Direct procurement Direct procurement (doğrudan temin) per year: purchase count and the amount distribution (median, mean, total, 95th and 99th percentile, largest and its share), nominal TRY — for the whole country or per province, sector or authority type. 2025 is the reference year; earlier years are incomplete in the source. GET /v1/public-procurement/direct-procurement-indices on Public procurement statistics (SBX-IHALE). Costs 1 credit per call.
| Parameter | Type | Description |
|---|---|---|
| limit | integer | Items per page, 1–200. |
| cursor | string | The `next_cursor` of the previous page, with the same filters. |
| period | string | A year (2019–) or `all` (every year pooled). Default: every year and `all`. |
| subject | string | One subject of the dimension: a province's plate code or name (34, İstanbul), a sector id or name, an authority-type id, or a procedure id. Default: every subject. |
| dimension | string | What to break down by. Default: `overall` (the whole country). |
{
"name": "public-procurement_listDirectProcurementIndices",
"title": "Public procurement statistics: Direct procurement",
"description": "Direct procurement\n\nDirect procurement (doğrudan temin) per year: purchase count and the amount distribution (median, mean, total, 95th and 99th percentile, largest and its share), nominal TRY — for the whole country or per province, sector or authority type. 2025 is the reference year; earlier years are incomplete in the source.\n\nGET /v1/public-procurement/direct-procurement-indices on Public procurement statistics (SBX-IHALE). Costs 1 credit per call.",
"inputSchema": {
"type": "object",
"properties": {
"limit": {
"type": "integer",
"default": 50,
"maximum": 200,
"minimum": 1,
"description": "Items per page, 1–200."
},
"cursor": {
"type": "string",
"description": "The `next_cursor` of the previous page, with the same filters."
},
"period": {
"type": "string",
"description": "A year (2019–) or `all` (every year pooled). Default: every year and `all`."
},
"subject": {
"type": "string",
"description": "One subject of the dimension: a province's plate code or name (34, İstanbul), a sector id or name, an authority-type id, or a procedure id. Default: every subject."
},
"dimension": {
"enum": [
"overall",
"province",
"sector",
"authority-type"
],
"type": "string",
"default": "overall",
"description": "What to break down by. Default: `overall` (the whole country)."
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Local suppliers The share of contracts, by count and by value, won by suppliers from the buying authority's own province, per year — for the whole country or per province or sector. GET /v1/public-procurement/localization-indices on Public procurement statistics (SBX-IHALE). Costs 1 credit per call.
| Parameter | Type | Description |
|---|---|---|
| limit | integer | Items per page, 1–200. |
| cursor | string | The `next_cursor` of the previous page, with the same filters. |
| period | string | A year (2019–) or `all` (every year pooled). Default: every year and `all`. |
| subject | string | One subject of the dimension: a province's plate code or name (34, İstanbul), a sector id or name, an authority-type id, or a procedure id. Default: every subject. |
| dimension | string | What to break down by. Default: `overall` (the whole country). |
{
"name": "public-procurement_listLocalizationIndices",
"title": "Public procurement statistics: Local suppliers",
"description": "Local suppliers\n\nThe share of contracts, by count and by value, won by suppliers from the buying authority's own province, per year — for the whole country or per province or sector.\n\nGET /v1/public-procurement/localization-indices on Public procurement statistics (SBX-IHALE). Costs 1 credit per call.",
"inputSchema": {
"type": "object",
"properties": {
"limit": {
"type": "integer",
"default": 50,
"maximum": 200,
"minimum": 1,
"description": "Items per page, 1–200."
},
"cursor": {
"type": "string",
"description": "The `next_cursor` of the previous page, with the same filters."
},
"period": {
"type": "string",
"description": "A year (2019–) or `all` (every year pooled). Default: every year and `all`."
},
"subject": {
"type": "string",
"description": "One subject of the dimension: a province's plate code or name (34, İstanbul), a sector id or name, an authority-type id, or a procedure id. Default: every subject."
},
"dimension": {
"enum": [
"overall",
"province",
"sector"
],
"type": "string",
"default": "overall",
"description": "What to break down by. Default: `overall` (the whole country)."
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Volume by province and sector Tender volume (count and value, nominal TRY) for each province and sector, with the value won by suppliers from the same province and from elsewhere. Largest first. GET /v1/public-procurement/province-sectors on Public procurement statistics (SBX-IHALE). Costs 1 credit per call.
| Parameter | Type | Description |
|---|---|---|
| sort | string | `amount` (default) or `tenders`, both descending. |
| limit | integer | Items per page, 1–200. |
| cursor | string | The `next_cursor` of the previous page, with the same filters. |
| sector | string | A sector id from /public-procurement/sectors, or its Turkish or English name. |
| province | string | A province's plate code or name. |
{
"name": "public-procurement_listProvinceSectors",
"title": "Public procurement statistics: Volume by province and sector",
"description": "Volume by province and sector\n\nTender volume (count and value, nominal TRY) for each province and sector, with the value won by suppliers from the same province and from elsewhere. Largest first.\n\nGET /v1/public-procurement/province-sectors on Public procurement statistics (SBX-IHALE). Costs 1 credit per call.",
"inputSchema": {
"type": "object",
"properties": {
"sort": {
"enum": [
"amount",
"tenders"
],
"type": "string",
"default": "amount",
"description": "`amount` (default) or `tenders`, both descending."
},
"limit": {
"type": "integer",
"default": 50,
"maximum": 200,
"minimum": 1,
"description": "Items per page, 1–200."
},
"cursor": {
"type": "string",
"description": "The `next_cursor` of the previous page, with the same filters."
},
"sector": {
"type": "string",
"description": "A sector id from /public-procurement/sectors, or its Turkish or English name."
},
"province": {
"type": "string",
"description": "A province's plate code or name."
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}List sectors The 43 sectors tenders are classified into, with ids and English names. Free. GET /v1/public-procurement/sectors on Public procurement statistics (SBX-IHALE). Costs 0 credits per call.
No parameters.
{
"name": "public-procurement_listProcurementSectors",
"title": "Public procurement statistics: List sectors",
"description": "List sectors\n\nThe 43 sectors tenders are classified into, with ids and English names. Free.\n\nGET /v1/public-procurement/sectors on Public procurement statistics (SBX-IHALE). Costs 0 credits per call.",
"inputSchema": {
"type": "object",
"properties": {},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Supply flows between provinces Contracts (count and value, nominal TRY) from authorities in one province to suppliers based in another or the same province. Largest first. GET /v1/public-procurement/supply-flows on Public procurement statistics (SBX-IHALE). Costs 1 credit per call.
| Parameter | Type | Description |
|---|---|---|
| limit | integer | Items per page, 1–200. |
| cursor | string | The `next_cursor` of the previous page, with the same filters. |
| buyerProvince | string | The buying authorities' province: plate code or name. |
| supplierProvince | string | The suppliers' province: plate code or name. |
{
"name": "public-procurement_listSupplyFlows",
"title": "Public procurement statistics: Supply flows between provinces",
"description": "Supply flows between provinces\n\nContracts (count and value, nominal TRY) from authorities in one province to suppliers based in another or the same province. Largest first.\n\nGET /v1/public-procurement/supply-flows on Public procurement statistics (SBX-IHALE). Costs 1 credit per call.",
"inputSchema": {
"type": "object",
"properties": {
"limit": {
"type": "integer",
"default": 50,
"maximum": 200,
"minimum": 1,
"description": "Items per page, 1–200."
},
"cursor": {
"type": "string",
"description": "The `next_cursor` of the previous page, with the same filters."
},
"buyerProvince": {
"type": "string",
"description": "The buying authorities' province: plate code or name."
},
"supplierProvince": {
"type": "string",
"description": "The suppliers' province: plate code or name."
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Top-10 buying authorities The ten public authorities that awarded the most in one province (tenders or direct procurement) or one sector (tenders), by value. GET /v1/public-procurement/top-authorities on Public procurement statistics (SBX-IHALE). Costs 1 credit per call.
| Parameter | Type | Description |
|---|---|---|
| limit | integer | Items per page, 1–200. |
| cursor | string | The `next_cursor` of the previous page, with the same filters. |
| method | string | `tender` (default) or, for a province, `direct` (direct procurement). |
| sector | string | A sector id or name. Give this or `province`. |
| province | string | A province's plate code or name. Give this or `sector`. |
{
"name": "public-procurement_listTopAuthorities",
"title": "Public procurement statistics: Top-10 buying authorities",
"description": "Top-10 buying authorities\n\nThe ten public authorities that awarded the most in one province (tenders or direct procurement) or one sector (tenders), by value.\n\nGET /v1/public-procurement/top-authorities on Public procurement statistics (SBX-IHALE). Costs 1 credit per call.",
"inputSchema": {
"type": "object",
"properties": {
"limit": {
"type": "integer",
"default": 50,
"maximum": 200,
"minimum": 1,
"description": "Items per page, 1–200."
},
"cursor": {
"type": "string",
"description": "The `next_cursor` of the previous page, with the same filters."
},
"method": {
"enum": [
"tender",
"direct"
],
"type": "string",
"default": "tender",
"description": "`tender` (default) or, for a province, `direct` (direct procurement)."
},
"sector": {
"type": "string",
"description": "A sector id or name. Give this or `province`."
},
"province": {
"type": "string",
"description": "A province's plate code or name. Give this or `sector`."
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Top-10 contractors The ten contractors that won the most in one province or sector (tenders), in one province by direct procurement (`direct`), or the ten firms based in a province with the most public-contract revenue anywhere (`headquartered`). Legal names as recorded in EKAP; no tax numbers. GET /v1/public-procurement/top-contractors on Public procurement statistics (SBX-IHALE). Costs 1 credit per call.
| Parameter | Type | Description |
|---|---|---|
| limit | integer | Items per page, 1–200. |
| cursor | string | The `next_cursor` of the previous page, with the same filters. |
| method | string | `tender` (default); for a province also `direct` or `headquartered`. |
| sector | string | A sector id or name. Give this or `province`. |
| province | string | A province's plate code or name. Give this or `sector`. |
{
"name": "public-procurement_listTopContractors",
"title": "Public procurement statistics: Top-10 contractors",
"description": "Top-10 contractors\n\nThe ten contractors that won the most in one province or sector (tenders), in one province by direct procurement (`direct`), or the ten firms based in a province with the most public-contract revenue anywhere (`headquartered`). Legal names as recorded in EKAP; no tax numbers.\n\nGET /v1/public-procurement/top-contractors on Public procurement statistics (SBX-IHALE). Costs 1 credit per call.",
"inputSchema": {
"type": "object",
"properties": {
"limit": {
"type": "integer",
"default": 50,
"maximum": 200,
"minimum": 1,
"description": "Items per page, 1–200."
},
"cursor": {
"type": "string",
"description": "The `next_cursor` of the previous page, with the same filters."
},
"method": {
"enum": [
"tender",
"direct",
"headquartered"
],
"type": "string",
"default": "tender",
"description": "`tender` (default); for a province also `direct` or `headquartered`."
},
"sector": {
"type": "string",
"description": "A sector id or name. Give this or `province`."
},
"province": {
"type": "string",
"description": "A province's plate code or name. Give this or `sector`."
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}ServiceBox APIs: each tool is one REST endpoint of a ServiceBox API, called through the gateway with your API key. Every tool call is metered exactly like the same REST call: its description states the credits it costs, and the result's last line shows the credits charged and remaining. A tool result with isError: true carries the gateway's problem JSON. HTTP 402 means the credits or plan do not cover the call (see credits_required); HTTP 429 means a rate limit (wait retry_after seconds). Both carry an upgrade_url — hand it to the human to upgrade or buy credits. Docs and keys: https://servicebox.io/agents
Names, descriptions and schemas were written by the server and are shown as data.