Quick start
Before you begin
Section titled “Before you begin”Your Echora contact provisions your API account, source quotas, monthly keyword-change maximum, expiry date and API key. API-data uses an account separate from the Echora dashboard.
Set the host and key in your backend environment. Do not include /v1 in the base URL.
export ECHORA_BASE_URL="<API_HOST_FROM_ECHORA>"export ECHORA_API_KEY="<YOUR_API_KEY>"1. Check your account
Section titled “1. Check your account”curl "$ECHORA_BASE_URL/v1/account/info" \ --header "X-API-Key: $ECHORA_API_KEY"Inspect each source’s keyword_limit, active and changes_remaining. An inactive or expired account returns account_unavailable even on this endpoint.
2. Find your keyword path
Section titled “2. Find your keyword path”curl "$ECHORA_BASE_URL/v1/keywords" \ --header "X-API-Key: $ECHORA_API_KEY"The response groups slots under data.news, data.twitter, data.instagram, data.threads, data.youtube, data.tiktok and data.facebook. All seven arrays are present.
Select a slot with a non-empty path, is_active: true and within_quota: true. Use that exact path for the same source. If no keyword exists, create one within your allowance.
3. Request the first page
Section titled “3. Request the first page”This example assumes an eligible news keyword with path pssi.
curl --get "$ECHORA_BASE_URL/v1/data/news/pssi" \ --header "X-API-Key: $ECHORA_API_KEY" \ --data-urlencode "start=2026-11-12" \ --data-urlencode "end=2026-11-18" \ --data-urlencode "limit=100"Dates are inclusive Asia/Jakarta calendar dates. The response’s content timestamps are UTC. Dates, keyword values and paths shown here are examples; replace them with your scope.
4. Continue with cursor only
Section titled “4. Continue with cursor only”When pagination.has_more is true, assign the complete returned pagination.next_cursor to NEXT_CURSOR and send:
curl --get "$ECHORA_BASE_URL/v1/data/news/pssi" \ --header "X-API-Key: $ECHORA_API_KEY" \ --data-urlencode "cursor=$NEXT_CURSOR"Keep the same source and keyword path. Do not repeat the dates or page size; the cursor restores them. Stop when has_more is false and next_cursor is null.
Continue with pagination, the Python example or JavaScript example.