{
  "info": {
    "name": "Yatırım ve emeklilik fonları (SBX-FON)",
    "description": "TEFAS'taki tüm yatırım, serbest, emeklilik (BES/OKS) ve borsa yatırım fonları: günlük fiyat, büyüklük, yatırımcı sayısı, getiriler, ücretler, risk ve portföy dağılımı.",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
  },
  "auth": {
    "type": "bearer",
    "bearer": [
      {
        "key": "token",
        "value": "{{SBX_API_KEY}}",
        "type": "string"
      }
    ]
  },
  "variable": [
    {
      "key": "baseUrl",
      "value": "https://api.servicebox.io",
      "type": "string"
    },
    {
      "key": "SBX_API_KEY",
      "value": "",
      "type": "string"
    }
  ],
  "item": [
    {
      "name": "List funds",
      "request": {
        "method": "GET",
        "header": [],
        "url": {
          "raw": "{{baseUrl}}/v1/funds",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "v1",
            "funds"
          ],
          "query": [
            {
              "key": "type",
              "value": "investment",
              "description": "Only this type.",
              "disabled": true
            },
            {
              "key": "category",
              "value": "string",
              "description": "A category id from /funds/categories, e.g. para-piyasasi-semsiye-fonu.",
              "disabled": true
            },
            {
              "key": "founder",
              "value": "string",
              "description": "A company code from /funds/founders, e.g. ISP.",
              "disabled": true
            },
            {
              "key": "codes",
              "value": "string",
              "description": "Comma-separated fund codes (up to 100), e.g. AAL,TTE.",
              "disabled": true
            },
            {
              "key": "q",
              "value": "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İ.",
              "disabled": true
            },
            {
              "key": "tefas",
              "value": "true",
              "description": "`true`: only funds traded on the TEFAS platform; `false`: only those that are not.",
              "disabled": true
            },
            {
              "key": "riskLevel",
              "value": "4",
              "description": "Only this risk value, 1–7.",
              "disabled": true
            },
            {
              "key": "status",
              "value": "active",
              "description": "`active` (default) or `all` (also funds no longer priced).",
              "disabled": true
            },
            {
              "key": "sort",
              "value": "aum",
              "description": "Sort key. Default `aum` (fund size).",
              "disabled": true
            },
            {
              "key": "order",
              "value": "asc",
              "description": "`desc` or `asc`; default `asc` for fee, code and name, else `desc`. Funds without the sort value come last.",
              "disabled": true
            },
            {
              "key": "limit",
              "value": "50",
              "description": "Items per page, 1–200.",
              "disabled": true
            },
            {
              "key": "cursor",
              "value": "string",
              "description": "The `next_cursor` of the previous page, with the same filters.",
              "disabled": true
            }
          ],
          "variable": []
        },
        "description": "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.\n\nCredits: 1"
      }
    },
    {
      "name": "List fund categories",
      "request": {
        "method": "GET",
        "header": [],
        "url": {
          "raw": "{{baseUrl}}/v1/funds/categories",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "v1",
            "funds",
            "categories"
          ],
          "query": [],
          "variable": []
        },
        "description": "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.\n\nCredits: 0"
      }
    },
    {
      "name": "List fund companies",
      "request": {
        "method": "GET",
        "header": [],
        "url": {
          "raw": "{{baseUrl}}/v1/funds/founders",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "v1",
            "funds",
            "founders"
          ],
          "query": [
            {
              "key": "type",
              "value": "investment",
              "description": "Only this type.",
              "disabled": true
            }
          ],
          "variable": []
        },
        "description": "Portfolio management and pension companies with their number of active funds and total fund value, largest first. Free.\n\nCredits: 0"
      }
    },
    {
      "name": "Get a fund",
      "request": {
        "method": "GET",
        "header": [],
        "url": {
          "raw": "{{baseUrl}}/v1/funds/:code",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "v1",
            "funds",
            ":code"
          ],
          "query": [],
          "variable": [
            {
              "key": "code",
              "value": "string",
              "description": "A TEFAS fund code, e.g. AAL."
            }
          ]
        },
        "description": "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.\n\nCredits: 1"
      }
    },
    {
      "name": "Daily price history",
      "request": {
        "method": "GET",
        "header": [],
        "url": {
          "raw": "{{baseUrl}}/v1/funds/:code/prices",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "v1",
            "funds",
            ":code",
            "prices"
          ],
          "query": [
            {
              "key": "start",
              "value": "string",
              "description": "YYYY-MM-DD.",
              "disabled": true
            },
            {
              "key": "end",
              "value": "string",
              "description": "YYYY-MM-DD. Default: the fund's latest price date.",
              "disabled": true
            }
          ],
          "variable": [
            {
              "key": "code",
              "value": "string",
              "description": "A TEFAS fund code, e.g. AAL."
            }
          ]
        },
        "description": "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.\n\nCredits: 1"
      }
    }
  ]
}