Pipedrive's API lives at https://api.pipedrive.com, with newer endpoints under /api/v2 and the rest under /v1.
Copy your personal API token from Settings → Personal preferences → API and send it as the x-api-token header. In the examples it's written {{PIPEDRIVE_API_TOKEN}}.
Full reference: https://developers.pipedrive.com/docs/api/v1
curl https://api.pipedrive.com/v1/users/me \
-H "x-api-token: {{PIPEDRIVE_API_TOKEN}}"
curl "https://api.pipedrive.com/api/v2/deals?limit=10" \
-H "x-api-token: {{PIPEDRIVE_API_TOKEN}}"
curl "https://api.pipedrive.com/api/v2/persons?limit=10" \
-H "x-api-token: {{PIPEDRIVE_API_TOKEN}}"