Quickstart
Grab your API key first. Every request authenticates with it as a bearer token against https://api.nativeport.ai, and each provider is addressed through its own native API.
Get your key
Create an account at accounts.nativeport.ai/sign-up; the dashboard mints a Default key automatically — copy it from there.
Your first request
The example below runs a Google search via Serper. Swap YOUR_API_KEY for your key:
Python
TypeScript
cURL
What comes back is Serper’s own JSON — including the organic results array — byte-for-byte as the provider produced it.
Prefer an environment variable to a hardcoded key. A 401 means the token was absent or not recognized — Authentication has the details.
Calling a model? Consider the unified endpoint
If you’re after chat inference specifically, /inference/v1/chat/completions gives you one OpenAI Chat Completions-shaped contract over OpenAI, Anthropic, Grok, and Hugging Face at once — swap a model string instead of rewriting the call per provider. The individual routes below remain the way to reach each provider’s full native surface.
Every other provider works the same way
Same base URL, same bearer header; only the path and payload change. One representative call for each:
Full endpoint lists and parameters live on each provider’s page.