Skip to main content
This guide takes you from zero to your first response: create an account, authenticate, then run your first GET and POST requests. Each step includes working examples in cURL, Python, and JavaScript.

Step 1: Get your API key

  1. Open the Sorsa Dashboard and click Sign in. Register with any available option. Sorsa asks for nothing beyond what your auth provider shares.
  2. Your account starts with 100 free requests. No card required, they work on all 40 endpoints, and they never expire, so you can start testing immediately.
  3. When you need more volume, choose a plan (10K, 100K, or 500K requests per month) and a billing cycle (monthly or yearly), then pay by card or crypto.
Once you are signed in, the dashboard shows your API key and your remaining request quota.
Keep your API key private. Never expose it in frontend code, public repositories, or client-side JavaScript. Treat it like a password.

Step 2: Understand the basics

A few things to know before your first call. Base URL
Authentication Every request must include your API key in the ApiKey header:
Response format All endpoints return JSON. A successful request responds with HTTP 200. Rate limit Every plan shares a limit of 20 requests per second. See Rate Limits for the relevant headers and a retry strategy.

Step 3: Send your first GET request

The quickest way to confirm your setup is to fetch a public profile with the /info endpoint. cURL
Python
JavaScript
Example response
If you get JSON with user data back, your key works and you are ready to go.

Step 4: Send your first POST request

Many tweet and search endpoints use POST with a JSON body. Here is a tweet search with /search-tweets: cURL
Python
JavaScript
Example response (truncated)
To page through more results, pass the returned next_cursor in your next request. See Pagination for the full pattern.

Step 5: Check your API usage

Check how many requests you have left at any time with /key-usage-info:
Example response
It is good practice to call this before running large batch jobs. You can also review your full history in the Dashboard.

Common error codes

For full details and handling strategies, see the Error Codes Reference.

Try it without code

Prefer to click around first? Explore every endpoint in the API Reference or use the no-code API Playground. Both let you send real requests and inspect responses before writing a line of code.

Next steps