Skip to main content

Setup

Put them in your environment or .env; Data APIs covers the other ways.

Notes

  • Each API group has its own path prefix under /apis: domain_stats_api, serp_api, keyword_api, competitors_api.
  • Billing is pay-as-you-go per row returned, priced per 1,000 rows by endpoint (stated in each note). Pro + AI plans include a $40 monthly credit and Team/Agency plans $100.
  • pageSize defaults to 5 rows, so set it explicitly; page with startingRow.
  • Rate limits are per endpoint, per second, and a 429 comes with Retry-After: 1. Some endpoints allow only 10 requests a second.
  • SpyFu also accepts HTTP Basic with the API ID and Secret Key, or an HMAC signature; this entry uses the api_key query parameter.

Endpoints

Latest domain stats

  • Billed per row returned at $0.50 per 1,000 rows.

Most valuable organic keywords

  • Billed per row returned at $0.50 per 1,000 rows. The endpoint takes many more min/max filters; only the main ones are listed.
  • Default pageSize is 5, so raise it.

Most successful paid keywords

  • Billed per row returned at $2.00 per 1,000 rows.

Top organic competitors

  • Billed per row returned at $0.20 per 1,000 rows.
  • Billed per row returned at $2.50 per 1,000 rows.

Keyword information in bulk

  • Billed per row returned at $0.20 per 1,000 rows. A POST version exists for larger lists.

Highest-traffic pages

  • Billed per row returned at $5.00 per 1,000 rows.

SERP analysis for a keyword

  • Billed per row returned at $0.50 per 1,000 rows.