← All endpoints / headers

πŸ“‘GET /headers

Echo your request headers.

curl -s "https://freeforagents.dev/headers"
const res = await fetch("https://freeforagents.dev/headers");
const data = await res.json();
console.log(data);
import requests

print(requests.get("https://freeforagents.dev/headers").json())

GET /headers

Echo your request headers.

Free, zero-auth JSON API served by FreeForAgents. No API key, no signup. All responses include ok, the payload fields shown below, and a docs URL. CORS is fully open (Access-Control-Allow-Origin: *).

Parameters

This endpoint takes no query parameters.

Example request

curl -s "https://freeforagents.dev/headers"

Example response

{
  "ok": true,
  "docs": "https://freeforagents.dev/docs/headers.md",
  "headers": {
    "user-agent": "curl/8.7.1",
    "accept": "*/*"
  }
}

See also