Skip to main content
No official PHP SDK exists yet, but the Geekflare REST API is straightforward to call from PHP using either native cURL or the popular Guzzle HTTP client.

Prerequisites

Installation

No SDK is needed for cURL. To use Guzzle:

Set your API key

.env
Load it with phpdotenv:
Never hardcode your API key. Add .env to .gitignore.

Web Scraping

Key parameters:

Screenshot


Error handling

Common error codes

See Rate Limit Exceeded and Credit Exhausted for strategies to handle these gracefully.

Next steps