# 17TRACK API

> 17TRACK returns package tracking data, including delivery status and shipment history, as a workflow and API.

17TRACK, also called 17 Track, returns package status, carrier details and shipment history; Track package needs a tracking number. Track package returns shipment events, locations, dates, carriers, countries, transit days and expected delivery dates.

- Page: https://fous.com/tools/17track
- Handle: `@17track`
- Category: [Logistics](https://fous.com/tools/category/logistics)
- Source website: https://17track.net
- Last verified: Sep 29, 2026

## Methods

### Track package

Operation `track_package`, version 1. 1 credit per completed call. Failed calls without a completed billing receipt are free; completed work can remain charged if delivery is interrupted.

Track a package by tracking number on 17TRACK, including carriers, delivery status and shipment history. Carrier overrides are not available; some lookups require a security check.

**Input**

| Field | Type | Required | Example | Description |
|---|---|---|---|---|
| `tracking_number` | string | yes | `"1Z999AA10123456784"` | Package tracking number, for example 1Z999AA10123456784. |

**Input schema**

```json
{
  "type": "object",
  "required": [
    "tracking_number"
  ],
  "properties": {
    "tracking_number": {
      "type": "string",
      "description": "Package tracking number, for example 1Z999AA10123456784.",
      "examples": [
        "1Z999AA10123456784",
        "1z999aa10123456784"
      ]
    }
  },
  "additionalProperties": false,
  "examples": [
    {
      "tracking_number": "1Z999AA10123456784"
    },
    {
      "tracking_number": "1z999aa10123456784"
    }
  ]
}
```

**Output**

| Field | Type | Example | Description |
|---|---|---|---|
| `link` | string | `"https://t.17track.net/en#nums=1Z999AA10123456784"` |  |
| `status` | string or null | `"Delivered"` |  |
| `history` | array |  |  |
| `history[].location` | string or null | `"LONGVIEW, TX, US"` |  |
| `history[].date_time` | string or null | `"2025-12-05T10:29:38-06:00"` |  |
| `history[].event_text` | string or null | `"Delivered, DELIVERED"` |  |
| `carrier_code` | integer or null | `100002` |  |
| `latest_event` | any |  |  |
| `origin_carrier` | string or null | `"UPS"` |  |
| `origin_country` | string or null | `"United States"` |  |
| `days_in_transit` | integer or null | `176` |  |
| `tracking_number` | string | `"1Z999AA10123456784"` |  |
| `destination_carrier` | string or null | `"UPS"` |  |
| `destination_country` | string or null | `"United States"` |  |
| `expected_delivery_date` | string or null |  |  |

**Example input**

```json
{
  "tracking_number": "1Z999AA10123456784"
}
```

**Example output**

```json
{
  "link": "https://t.17track.net/en#nums=1Z999AA10123456784",
  "status": "Delivered",
  "history": [
    {
      "location": "LONGVIEW, TX, US",
      "date_time": "2025-12-05T10:29:38-06:00",
      "event_text": "Delivered, DELIVERED"
    },
    {
      "location": "Longview, TX, United States",
      "date_time": "2025-12-05T10:20:03-06:00",
      "event_text": "Out for Delivery, Out For Delivery Today"
    },
    {
      "location": "Longview, TX, United States",
      "date_time": "2025-12-05T09:26:36-06:00",
      "event_text": "On the Way, Processing at UPS Facility"
    }
  ],
  "carrier_code": 100002,
  "latest_event": {
    "location": "LONGVIEW, TX, US",
    "date_time": "2025-12-05T10:29:38-06:00",
    "event_text": "Delivered, DELIVERED"
  },
  "origin_carrier": "UPS",
  "origin_country": "United States",
  "days_in_transit": 176,
  "tracking_number": "1Z999AA10123456784",
  "destination_carrier": "UPS",
  "destination_country": "United States",
  "expected_delivery_date": null
}
```

## Quick start

Replace `YOUR_API_KEY` with a Fous API key. To create one, open Developers at the bottom of Fous Studio, turn on Developer mode, then go to API keys (https://app.fous.com/keys). Change the values in `input` to run the same tool on new data.

```bash
curl 'https://api.fous.com/v1/query' \
  --fail-with-body --silent --show-error --max-time 180 \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H 'Content-Type: application/json' \
  --data-raw '{
  "api": "@17track",
  "visibility": "public",
  "operation": "track_package",
  "version": 1,
  "input": {
    "tracking_number": "1Z999AA10123456784"
  },
  "response": {
    "format": "json"
  }
}'
```

```python
# Save as fous.py and run with python3 fous.py. No packages needed.
import json
import urllib.error
import urllib.request

api_key = "YOUR_API_KEY"

body = json.loads("{\n  \"api\": \"@17track\",\n  \"visibility\": \"public\",\n  \"operation\": \"track_package\",\n  \"version\": 1,\n  \"input\": {\n    \"tracking_number\": \"1Z999AA10123456784\"\n  },\n  \"response\": {\n    \"format\": \"json\"\n  }\n}")
request = urllib.request.Request(
    "https://api.fous.com/v1/query",
    data=json.dumps(body).encode("utf-8"),
    headers={
        "Authorization": f"Bearer {api_key}",
        "Content-Type": "application/json",
    },
    method="POST",
)
try:
    with urllib.request.urlopen(request, timeout=180) as response:
        result = json.load(response)
except urllib.error.HTTPError as error:
    raise RuntimeError(f"HTTP {error.code}: {error.read().decode('utf-8', errors='replace')}") from error
if result.get("success") is False:
    raise RuntimeError(result.get("error", {}).get("message", "Request failed"))
print(json.dumps(result["data"]["output"], indent=2))
```

```typescript
// Save as fous.mts and run with npx tsx fous.mts.
const apiKey = "YOUR_API_KEY";

const response = await fetch("https://api.fous.com/v1/query", {
  method: "POST",
  headers: {
    "Authorization": `Bearer ${apiKey}`,
    "Content-Type": "application/json",
  },
  signal: AbortSignal.timeout(180_000),
  body: JSON.stringify({
  "api": "@17track",
  "visibility": "public",
  "operation": "track_package",
  "version": 1,
  "input": {
    "tracking_number": "1Z999AA10123456784"
  },
  "response": {
    "format": "json"
  }
}),
});
type ApiResult = { success: boolean; data?: { output: unknown }; error?: { message: string } };
const result: ApiResult = await response.json();
if (!response.ok || result.success === false) {
  throw new Error(result.error?.message ?? `HTTP ${response.status}`);
}
if (!result.data) throw new Error("Missing API response data");
console.log(result.data.output);
```

## Use from an AI assistant

Connect this tool to Claude Code, Claude Desktop, Cursor, VS Code, Codex and any MCP client as its own MCP server. Each method is a typed tool whose arguments are the method’s input.

- Server URL: `https://api.fous.com/mcp/tools/17track`
- Authorization: `Authorization: Bearer <Fous API key>`

**Tools**

- `track_package`: Track package. 1 credit per completed call. Failed calls without a completed billing receipt are free; completed work can remain charged if delivery is interrupted.
- `fous_get_run`: the result of a run that was still going, by its `request_id`. Free.

Claude Code:

```bash
claude mcp add --scope user --transport http fous-17track https://api.fous.com/mcp/tools/17track --header "Authorization: Bearer ${FOUS_API_KEY:?Set FOUS_API_KEY to your Fous API key}"
```

To give the assistant every tool, connect `https://api.fous.com/mcp`: it finds one with `fous_search_tools` and runs it with `fous_run_tool`. Setup for other clients: https://fous.com/llms-full.txt.

## Use cases

- Monitor package delivery progress.
- Review shipment events and locations.
- Identify origin and destination carriers and countries.
- Check package transit time.
- Assess expected delivery dates.

## FAQ

### Can I run it with my own inputs?

Yes. Change the inputs in Studio and press Run, or send new inputs from your code, or ask a connected AI assistant.

### Can I call this 17TRACK tool as an API?

Yes. Send a POST request to /v1/query with your Fous API key and the inputs, and get JSON back.

### How much does it cost?

Each completed run costs 1 credit. Failed runs without a completed receipt are free; completed work can remain charged if delivery is interrupted. With pay as you go, a credit costs 1¢. Monthly plans cost less per credit.

### Do I need a 17TRACK account?

No. You only need a Fous account.

### How current is the data?

Fous gets the data from 17track.net when you run it. Some results are reused for up to 24 hours, and results that use your account or key are never reused. It was last verified on Sep 29, 2026.

### What is a package’s delivery status?

Track package returns its status and latest event using the tracking number.

### Where has a package been during transit?

Track package returns shipment history, including event locations, dates and descriptions.

### When is a package expected to arrive?

Track package returns an expected delivery date when available.

## Related

- [Parcels API](https://fous.com/tools/parcels.md): Worldwide package tracking with automatic carrier detection.
- [DHL API](https://fous.com/tools/dhl.md): Track DHL shipments across its delivery services.
- [UPS API](https://fous.com/tools/ups.md): UPS ships and delivers packages, provides available tracking status and history, and estimates guest retail prices and delivery times, with end-of-day shown as 23:59 local time and counter prices varying.
- [FedEx API](https://fous.com/tools/fedex.md): Shipping and package tracking.
- [USPS API](https://fous.com/tools/usps.md): USPS provides latest available package tracking, standardized U.S. addresses with ZIP+4, recommended cities for five-digit ZIP Codes, and estimated domestic postage and delivery dates.
- [Maersk API](https://fous.com/tools/maersk.md): Ocean shipping and logistics tracking.
- [Amtrak API](https://fous.com/tools/amtrak.md): Amtrak passenger train travel and status.
- [Flightradar24 API](https://fous.com/tools/flightradar24.md): Flightradar24 provides live flight tracking, recent history, flight status and times, plus upcoming airport departures and arrivals; history and schedules are limited to recent and upcoming flights.
- [All Logistics tools](https://fous.com/tools/category/logistics)
