Skip to content
GET /v1/search

Search players

Try it live

10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.

Custom headers (optional)
api.oanor.com/nfl-api

It works. Grab an API key and use it in your project.

Get an API key

Code snippets

curl "https://api.oanor.com/nfl-api/v1/search" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/nfl-api/v1/search", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/nfl-api/v1/search");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
    "https://api.oanor.com/nfl-api/v1/search",
    headers={"x-oanor-key": "oanor_test_..."}
)

Example response

A real response from this endpoint, captured by the latest health check.

{
    "data": {
        "count": 2,
        "query": "mahomes",
        "players": [
            {
                "id": "37d87523-280a-9d4a-0adb-22cfc6d3619c",
                "name": "Patrick Mahomes",
                "image": "https://a.espncdn.com/i/headshots/nfl/players/full/3139477.png",
                "subtitle": "Kansas City Chiefs"
            },
            {
                "id": "dcd39c0c-e168-eb07-4751-15e34aa259da",
                "name": "Pat Mahomes",
                "subtitle": "Pittsburgh Pirates"
            }
        ]
    },
    "meta": {
        "timestamp": "2026-06-07T16:46:38.039Z",
        "request_id": "0c604f5e-fde0-4603-8360-13f8b45e3ab8"
    },
    "status": "ok",
    "message": "Players retrieved successfully",
    "success": true
}