{
  "info": {
    "name": "PublicOptions API",
    "description": "Historical and intraday US options data. Set the `apiKey` collection variable to your `sopk_...` key.",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
  },
  "auth": {
    "type": "bearer",
    "bearer": [{ "key": "token", "value": "{{apiKey}}", "type": "string" }]
  },
  "variable": [
    { "key": "baseUrl", "value": "https://czar28.com" },
    { "key": "apiKey", "value": "sopk_replace_me" },
    { "key": "root", "value": "AAPL" },
    { "key": "exp", "value": "20260619" },
    { "key": "strike", "value": "200" },
    { "key": "right", "value": "C" },
    { "key": "start_date", "value": "20260101" },
    { "key": "end_date", "value": "20260131" }
  ],
  "item": [
    {
      "name": "Health",
      "request": {
        "method": "GET",
        "auth": { "type": "noauth" },
        "url": { "raw": "{{baseUrl}}/api/public/v1/options/health", "host": ["{{baseUrl}}"], "path": ["api", "public", "v1", "options", "health"] }
      }
    },
    {
      "name": "Options Chain",
      "request": {
        "method": "GET",
        "url": {
          "raw": "{{baseUrl}}/api/public/v1/options/chain?root={{root}}&exp={{exp}}",
          "host": ["{{baseUrl}}"],
          "path": ["api", "public", "v1", "options", "chain"],
          "query": [
            { "key": "root", "value": "{{root}}" },
            { "key": "exp", "value": "{{exp}}" }
          ]
        }
      }
    },
    {
      "name": "Quote — EOD",
      "request": {
        "method": "GET",
        "url": {
          "raw": "{{baseUrl}}/api/public/v1/options/quote/eod?root={{root}}&exp={{exp}}&strike={{strike}}&right={{right}}&start_date={{start_date}}&end_date={{end_date}}",
          "host": ["{{baseUrl}}"],
          "path": ["api", "public", "v1", "options", "quote", "eod"],
          "query": [
            { "key": "root", "value": "{{root}}" },
            { "key": "exp", "value": "{{exp}}" },
            { "key": "strike", "value": "{{strike}}" },
            { "key": "right", "value": "{{right}}" },
            { "key": "start_date", "value": "{{start_date}}" },
            { "key": "end_date", "value": "{{end_date}}" }
          ]
        }
      }
    },
    {
      "name": "Quote — Intraday",
      "request": {
        "method": "GET",
        "url": {
          "raw": "{{baseUrl}}/api/public/v1/options/quote/intraday?root={{root}}&exp={{exp}}&strike={{strike}}&right={{right}}&start_date={{start_date}}&end_date={{end_date}}&ivl=60000&rth=true",
          "host": ["{{baseUrl}}"],
          "path": ["api", "public", "v1", "options", "quote", "intraday"],
          "query": [
            { "key": "root", "value": "{{root}}" },
            { "key": "exp", "value": "{{exp}}" },
            { "key": "strike", "value": "{{strike}}" },
            { "key": "right", "value": "{{right}}" },
            { "key": "start_date", "value": "{{start_date}}" },
            { "key": "end_date", "value": "{{end_date}}" },
            { "key": "ivl", "value": "60000" },
            { "key": "rth", "value": "true" }
          ]
        }
      }
    },
    {
      "name": "Trades",
      "request": {
        "method": "GET",
        "url": {
          "raw": "{{baseUrl}}/api/public/v1/options/trades?root={{root}}&exp={{exp}}&strike={{strike}}&right={{right}}&start_date={{start_date}}&end_date={{end_date}}",
          "host": ["{{baseUrl}}"],
          "path": ["api", "public", "v1", "options", "trades"],
          "query": [
            { "key": "root", "value": "{{root}}" },
            { "key": "exp", "value": "{{exp}}" },
            { "key": "strike", "value": "{{strike}}" },
            { "key": "right", "value": "{{right}}" },
            { "key": "start_date", "value": "{{start_date}}" },
            { "key": "end_date", "value": "{{end_date}}" }
          ]
        }
      }
    }
  ]
}
