Quickstart

Make your first API call in Python, TypeScript, or cURL
View as Markdown

You’ll need your Auxiliar API key. Send it as a bearer token on every request to https://api.auxiliar.ai, and call each tool using its own native API.

Make your first call

This runs a Google search through Serper. Replace YOUR_API_KEY with your key:

1import requests
2
3response = requests.post(
4 "https://api.auxiliar.ai/serper",
5 headers={"Authorization": "Bearer YOUR_API_KEY"},
6 json={"q": "apple inc"},
7)
8print(response.json())

The response is Serper’s JSON — an organic array of results — returned exactly as the provider sent it.

Keep your API key in an environment variable rather than hardcoding it. A 401 response means the key is missing or unrecognized — see Authentication.

Call any other tool

Every tool uses the same base URL and bearer token; only the path and payload change:

ToolExample call
SerperPOST /serper — Google search, images, news, and more
ScraperAPIGET /scraperapi?url=https://example.com — scrape a page
SerpApiGET /serpapi?engine=google&q=coffee — search results
ElevenLabsPOST /elevenlabs/v1/text-to-speech/{voice_id} — text to speech

See each tool’s page for its full set of endpoints and parameters.