{
  "info": {
    "name": "PrizePicks API \u2014 five-row developer starter",
    "description": "Import only; no live request runs until ALLOW_LIVE_REQUESTS=true and a private environment key is supplied. Select a single request and Send. Disable automatic redirects in older clients. No scripts send additional requests or follow pagination. TASK_CONTEXT is a short non-sensitive task summary retained by the service for 35 days; never paste private prompts. Documentation: https://prizepicksapi.com/developers/starter-kit. Independent service, not affiliated with PrizePicks.",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
  },
  "auth": {
    "type": "bearer",
    "bearer": [
      {
        "key": "token",
        "value": "{{PRIZEPICKS_API_KEY}}",
        "type": "string"
      }
    ]
  },
  "event": [
    {
      "listen": "prerequest",
      "script": {
        "type": "text/javascript",
        "exec": [
          "// All live reads are opt-in. No requests, loops or background jobs are created by this script.",
          "if (pm.environment.get('ALLOW_LIVE_REQUESTS') !== 'true') {",
          "  console.info('Skipped: review the request, then set ALLOW_LIVE_REQUESTS=true locally.');",
          "  pm.execution.skipRequest();",
          "}",
          "if (!pm.environment.get('PRIZEPICKS_API_KEY')) {",
          "  console.info('Skipped: set your API key in your private local environment.');",
          "  pm.execution.skipRequest();",
          "}",
          "const task = pm.environment.get('TASK_CONTEXT') || '';",
          "if (task.trim().length < 3 || task.length > 500 || /[\\r\\n]/.test(task)) {",
          "  console.info('Skipped: provide a short non-sensitive TASK_CONTEXT.');",
          "  pm.execution.skipRequest();",
          "}",
          "if (!pm.request.url.toString().startsWith('https://prizepicksapi.com/api/v1/')) {",
          "  console.info('Skipped: expected the documented HTTPS API origin.');",
          "  pm.execution.skipRequest();",
          "}"
        ]
      }
    }
  ],
  "item": [
    {
      "name": "01 Coverage and source health",
      "request": {
        "method": "GET",
        "header": [
          {
            "key": "X-User-Request",
            "value": "{{TASK_CONTEXT}}"
          },
          {
            "key": "X-PPAPI-Client",
            "value": "postman-starter"
          }
        ],
        "url": {
          "raw": "https://prizepicksapi.com/api/v1/coverage",
          "protocol": "https",
          "host": [
            "prizepicksapi",
            "com"
          ],
          "path": [
            "api",
            "v1",
            "coverage"
          ]
        },
        "description": "Inspect observed coverage first. Metadata only; no row-limit parameter applies. Uses the account key and explicit opt-in guard."
      },
      "protocolProfileBehavior": {
        "followRedirects": false
      },
      "response": []
    },
    {
      "name": "02 Five projections across NBA, NFL and NHL",
      "request": {
        "method": "GET",
        "header": [
          {
            "key": "X-User-Request",
            "value": "{{TASK_CONTEXT}}"
          },
          {
            "key": "X-PPAPI-Client",
            "value": "postman-starter"
          }
        ],
        "url": {
          "raw": "https://prizepicksapi.com/api/v1/projections?league=NBA,NFL,NHL&view=compact&limit=5",
          "protocol": "https",
          "host": [
            "prizepicksapi",
            "com"
          ],
          "path": [
            "api",
            "v1",
            "projections"
          ],
          "query": [
            {
              "key": "league",
              "value": "NBA,NFL,NHL"
            },
            {
              "key": "view",
              "value": "compact"
            },
            {
              "key": "limit",
              "value": "5"
            }
          ]
        },
        "description": "One compact five-row page across three leagues. No automatic pagination. Preserve league, market, period, tier and original timestamps."
      },
      "protocolProfileBehavior": {
        "followRedirects": false
      },
      "response": []
    },
    {
      "name": "03 Five priced comparisons",
      "request": {
        "method": "GET",
        "header": [
          {
            "key": "X-User-Request",
            "value": "{{TASK_CONTEXT}}"
          },
          {
            "key": "X-PPAPI-Client",
            "value": "postman-starter"
          }
        ],
        "url": {
          "raw": "https://prizepicksapi.com/api/v1/compare?league=NBA,NFL,NHL&view=compact&priced_only=true&alt_lines=false&limit=5",
          "protocol": "https",
          "host": [
            "prizepicksapi",
            "com"
          ],
          "path": [
            "api",
            "v1",
            "compare"
          ],
          "query": [
            {
              "key": "league",
              "value": "NBA,NFL,NHL"
            },
            {
              "key": "view",
              "value": "compact"
            },
            {
              "key": "priced_only",
              "value": "true"
            },
            {
              "key": "alt_lines",
              "value": "false"
            },
            {
              "key": "limit",
              "value": "5"
            }
          ]
        },
        "description": "One compact five-row page; priced_only excludes unmatched rows and alt_lines=false selects main sportsbook lines, not necessarily standard PrizePicks tiers. May consume credits; inspect current costs and allowance."
      },
      "protocolProfileBehavior": {
        "followRedirects": false
      },
      "response": []
    },
    {
      "name": "04 Five NBA result records on an explicit game date",
      "request": {
        "method": "GET",
        "header": [
          {
            "key": "X-User-Request",
            "value": "{{TASK_CONTEXT}}"
          },
          {
            "key": "X-PPAPI-Client",
            "value": "postman-starter"
          }
        ],
        "url": {
          "raw": "https://prizepicksapi.com/api/v1/results?league=NBA&date={{RESULTS_DATE}}&limit=5",
          "protocol": "https",
          "host": [
            "prizepicksapi",
            "com"
          ],
          "path": [
            "api",
            "v1",
            "results"
          ],
          "query": [
            {
              "key": "league",
              "value": "NBA"
            },
            {
              "key": "date",
              "value": "{{RESULTS_DATE}}"
            },
            {
              "key": "limit",
              "value": "5"
            }
          ]
        },
        "description": "Set RESULTS_DATE to a US Eastern game date YYYY-MM-DD. Includes graded, void and ungraded rows; do not treat unknown/void as losses. History outside your plan may return an upgrade gate."
      },
      "protocolProfileBehavior": {
        "followRedirects": false
      },
      "response": [],
      "event": [
        {
          "listen": "prerequest",
          "script": {
            "type": "text/javascript",
            "exec": [
              "const day=pm.environment.get('RESULTS_DATE') || '';",
              "if (!/^\\d{4}-\\d{2}-\\d{2}$/.test(day) || !Number.isFinite(Date.parse(day+'T00:00:00Z')) || new Date(day+'T00:00:00Z').toISOString().slice(0,10)!==day) {",
              "  console.info('Skipped: set a real RESULTS_DATE, e.g. a recent completed Eastern game date.');",
              "  pm.execution.skipRequest();",
              "}"
            ]
          }
        }
      ]
    },
    {
      "name": "05 Five historical board rows at an explicit instant",
      "request": {
        "method": "GET",
        "header": [
          {
            "key": "X-User-Request",
            "value": "{{TASK_CONTEXT}}"
          },
          {
            "key": "X-PPAPI-Client",
            "value": "postman-starter"
          }
        ],
        "url": {
          "raw": "https://prizepicksapi.com/api/v1/board?league=NBA&as_of={{AS_OF}}&limit=5",
          "protocol": "https",
          "host": [
            "prizepicksapi",
            "com"
          ],
          "path": [
            "api",
            "v1",
            "board"
          ],
          "query": [
            {
              "key": "league",
              "value": "NBA"
            },
            {
              "key": "as_of",
              "value": "{{AS_OF}}"
            },
            {
              "key": "limit",
              "value": "5"
            }
          ]
        },
        "description": "Set AS_OF to an ISO8601 instant with timezone. This is observation time, not game date. Only recorded history can be reconstructed; partial capture remains partial. Older history may require paid access."
      },
      "protocolProfileBehavior": {
        "followRedirects": false
      },
      "response": [],
      "event": [
        {
          "listen": "prerequest",
          "script": {
            "type": "text/javascript",
            "exec": [
              "const at=pm.environment.get('AS_OF') || '';",
              "if (!/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}(:\\d{2}(\\.\\d{1,6})?)?(Z|[+-]\\d{2}:?\\d{2})$/.test(at) || !Number.isFinite(Date.parse(at))) {",
              "  console.info('Skipped: set AS_OF to an explicit recorded instant with timezone.');",
              "  pm.execution.skipRequest();",
              "}"
            ]
          }
        }
      ]
    },
    {
      "name": "06 Credit policy and plan allowances",
      "request": {
        "method": "GET",
        "header": [
          {
            "key": "X-User-Request",
            "value": "{{TASK_CONTEXT}}"
          },
          {
            "key": "X-PPAPI-Client",
            "value": "postman-starter"
          }
        ],
        "url": {
          "raw": "https://prizepicksapi.com/api/v1/credit-costs",
          "protocol": "https",
          "host": [
            "prizepicksapi",
            "com"
          ],
          "path": [
            "api",
            "v1",
            "credit-costs"
          ]
        },
        "description": "Public cost metadata; inspect before scheduling work. No REST whoami endpoint is published, so this collection does not invent one. Review your own allowance in the dashboard and response headers."
      },
      "protocolProfileBehavior": {
        "followRedirects": false
      },
      "response": []
    }
  ]
}
