---
title: "Get one Subway store's available pickup times"
method: GET
path: "/subway/available-times"
tags: ["Subway"]
---

# Get one Subway store's available pickup times

`GET /subway/available-times`

## Request

- Base URL: `https://api.crawlora.net/api/v1`
- URL: `https://api.crawlora.net/api/v1/subway/available-times`
- Auth: API key in header `x-api-key`

Returns one Subway store's forward-looking pickup schedule -- every time slot the store is currently accepting orders for, as RFC3339 UTC instants, earliest first. Slots begin at the store's next orderable time (roughly half an hour out, not immediately) and run through closing, so the list reflects real remaining capacity for today rather than the store's advertised opening hours. Store IDs come from a GET /subway/store or GET /subway/nearby result's store_id field. A store that is closed or past its last slot for the day returns an empty slots array, which is a valid answer rather than an error. interval_minutes reports the spacing between consecutive slots as measured from the response itself.

## Query parameters

- `store_id` string, required
- `limit` integer

## Headers

- `x-api-key` string, required

## Response `200`

OK

- SubwayAvailableTimesResponseDoc
  - `code` integer: Code is the HTTP status code or a custom code used to indicate the result of the request @example 200
  - `data` SubwayAvailableTimesResponse
    - `count` integer
    - `earliest_slot` string: EarliestSlot and LatestSlot bracket Slots, kept as their own fields so a caller can read the window without scanning the array.
    - `fetched_at` string
    - `interval_minutes` integer: IntervalMinutes is the spacing between consecutive slots, derived from the returned data rather than assumed. It is 0 when fewer than two slots came back.
    - `latest_slot` string
    - `slots` string[]: Slots are RFC3339 UTC instants, earliest first, spaced by IntervalMinutes. They start at the store's next orderable time -- roughly half an hour out, not immediately -- and run to closing.
    - `source_url` string
    - `store_id` string
  - `msg` unknown

## Other responses

- `400`: Bad Request
- `404`: Not Found
- `429`: Too Many Requests
- `503`: Service Unavailable

---

[API](https://skmtc.dev/crawlora/apis/crawlora-api.md) · [All operations](https://skmtc.dev/crawlora/apis/crawlora-api/llms.txt) · [OpenAPI document](https://skmtc.dev/crawlora/apis/crawlora-api/revisions/afac9b012a27?raw)
