https://api.visitors.now/v1/projectReturns the project associated with the API key used for authentication.
const res = await fetch("https://api.visitors.now/v1/project", {
headers: { Authorization: `Bearer ${VISITORS_API_KEY}` },
});
const project = await res.json();{
"id": "fe14d7a2-0f3f-4dc4-9c0b-6f4a49f5c751",
"name": "Visitors",
"domain": "visitors.now",
"token": "b1a57b77-01f4-42e4-b7b4-1709b4d21d34",
"public": false,
"currency": "USD",
"createdAt": "2025-11-28T14:30:56.834Z",
"updatedAt": "2026-02-11T04:51:52.559Z"
}Unique project identifier.
Display name of the project.
The domain associated with the project.
Tracking script token for the project.
Whether the project dashboard is publicly accessible.
Currency used for revenue display.
ISO 8601 timestamp of when the project was created.
ISO 8601 timestamp of the last update.