Skip to main content
Find the row that matches what your agent has, then send the header or call the URL in the Use column. The full guide is https://docs.keenable.ai/authentication.md.

Access methods

Details for each row:

Rules for agents

  • Never sign up on the user’s behalf. A person signs up and approves device login in the console at https://app.keenable.ai/console. An agent with its own AgentID sign-in has its own organization and creates its own key.
  • Never ask the user to paste a key into chat. Read it from KEENABLE_API_KEY, or run device login.
  • Pay an x402 offer only from a wallet your user set up for x402. Without one, show the 402 offer to your user and stop.
  • If you send both X-API-Key and Authorization, the API uses the key in X-API-Key.

Search with or without a key

This shell snippet sends one search with your key if KEENABLE_API_KEY is set, and keyless otherwise:
You get JSON with a results array. Each result has url, title and snippet.

Errors that mean you need another method

Every error code, with its cause and fix: https://docs.keenable.ai/errors.md