1. Create an account

Go to pexafy.com and register a free account. No credit card required.

2. Get your API Key

  1. Open pexafy.com/dashboard/api-keys/create — the New Key form.
  2. Give it a name and submit. The key is shown once, right after creation, with a live example you can run on the spot.
The key works on your first call. No application review, no waiting period, and no mandatory download-tracking call to fire on every download. For comparison, as published by them: Unsplash caps unapproved applications at 50 requests/hour until it reviews your app; Pexels allows 200/hour. The Pexafy free plan starts at 1,200/hour.
Keep your API key secret. Do not expose it in client-side code or public repositories.

3. Make your first request

Pass your API key in the x-api-key header:
Pexafy search is semantic — it understands the meaning of a scene, so full descriptive sentences (a serene mountain landscape at sunset) return better matches than bare keywords (mountain sunset). Describe the scene, light and mood you have in mind.
Response:
Every response follows this shape: your results are in data, request metadata is in meta, list endpoints add a pagination object, and error is null on success (and an object { code, message } on failure). The full field list for each endpoint is documented in the API Reference.

Next steps

  • Learn how to page through results with cursors
  • Browse the Search, Photos, Facets, Collections and Usage sections to discover every endpoint
  • Visit the Dashboard to monitor your usage
  • See Pricing to choose the right plan