API keys, rate limits and request logs

Table of content

The API page in the sidebar holds your API keys, your rate limits and a log of the requests made with your keys. For the endpoints themselves, see the API docs.

Before you begin

  • Any member can create keys. Each member can hold up to 5 keys per workspace.
  • A key acts in the workspace where you created it and spends that workspace's credits.

Steps

  1. Open API and click Create API Key.

  2. Enter a Name (up to 60 characters), ideally after the tool that will use it, then click Create.

    Create API key dialog with Zapier in the Name field and the Create button
  3. The API key created dialog shows the full key. Copy it, store it somewhere safe, and click Done.

  4. Send the key in the x-api-key header of every request to https://api.getprospect.com/v2/.... See Authentication.

  5. To see a key again, click the eye icon on its row (Show key) or the copy icon. To revoke it, click the delete icon and confirm.

    API page with the Create API Key button, the keys table with Created, Last used and Created by columns and the show, copy and delete icons on a row, the Your rate limits card and the API logs table

What you get

  • The keys table shows when each key was Created, when it was Last used and who created it (Created by). Last used reaches back 15 days, as far as the request log: a newer key with no requests reads Never, an older one Not in 15 days.
  • Your rate limits shows the Search endpoint, Enrich endpoint and Email limits for your plan, per second, per minute and per day, with what you used today. The Email limit is for finding emails: verifying emails is never limited, on any plan. Paid plans have no daily cap on Email, only a per-second limit. The limits grow with your plan: see the full table in the API docs.
  • API logs (last 500 displayed) lists recent requests: time, key name, endpoint, response code, response time and the request payload. Requests stay in the log for 15 days.
  • Download your last 50 000 requests logs (up to 15 days) downloads the log as a file.
  • View API usage stats opens Usage filtered to API spending.

When a limit is reached

  • A request over a limit is refused with a 429 error. Wait a few seconds (or until the window resets) and send it again.
  • On the Free plan, searches and enrichments also have monthly limits (300 each). Over one, the error code is monthly_limit_reached and Retry-After is the number of seconds until the reset, which is the end of the Free plan's billing period. Paid plans have no monthly limit.
  • Big jobs count like the same requests made one by one: exporting or saving search results, enriching a file and looking up mobile numbers. Verifying a list of emails is never limited. A job is checked when it starts. If today's remaining limit cannot cover it, it does not start and nothing is charged: the message tells you how many units it needs, how many are left and when they reset. Start a smaller job, wait for the reset, or upgrade.
  • Units a job did not use go back to your limit when it ends.
  • To raise your limits, upgrade your plan in Subscription settings.

These limits are your workspace's plan limits: the web app, the Chrome extension, the Google Sheets add-on and AI assistants share them with your API keys. See Plan usage limits for searches and lookups.

Credit usage

Creating keys, reading limits and logsFree
API callsThe same as in the app: see each endpoint in the API docs

FAQ

Why is Create API Key greyed out?

You already have 5 keys. Delete one to create another.

What happens when I delete a key?

Any tool using it stops working within 30 seconds, and webhooks created with that key stop too.

I get 401 Unauthorized.

Check that the full key is sent in the x-api-key header and that the key has not been deleted. A 404 instead usually means a wrong path: the base is https://api.getprospect.com/v2/, not /api/v2/.