1. Get your API key

Open pexafy.com/dashboard/api-keys/create, choose Pexafy API and submit. Creating a free account is part of the flow — no credit card, and the key is shown right away with a live example.
The key works on your first call. Pexafy’s free plan allows up to 1,200 requests/hour.
Keep your API key secret. Never put it in client-side code or a public repository.

2. Make your first request

Pass the key in the x-api-key header:
API="https://api.pexafy.com/api/v1/search/photos"

curl -G "$API" \
  -H "x-api-key: pexafy_api_XXXX" \
  --data-urlencode "q=mountain landscape at sunset"
Results come back in data, with pagination for the next page and error set to null on success.
Search is semantic: describe the scene. a serene mountain landscape at sunset matches better than mountain sunset.

3. Get help as you build

Pexafy AI Assist The bubble in the bottom-right corner of every page. It answers from these docs — so it knows the parameters, the plan limits and the error codes — and it replies in your language. Ask it for a whole integration, not just a parameter: “write me a Python function that searches and downloads the first result”, and it writes it against the current API.
Answers are generated, so verify anything going to production. When it does not know, it says so rather than guessing — and that tells us a page is missing.

Next steps