use this command to find out how many API requests you have left. For more information go to the official documentation

curl -v -H "Authorization: YOU_API_KEY" "https://api.pexels.com/v1/search?query=people&per_page=1"

The output may look something like this:

*   Trying 2606:4700::6811:d066:443...
* Connected to api.pexels.com (2606:4700::6811:d066) port 443 (#0)
* schannel: disabled automatic use of client certificate
* ALPN: offers http/1.1
* ALPN: server accepted http/1.1
> GET /v1/search?query=people&per_page=1 HTTP/1.1
> Host: api.pexels.com
> User-Agent: curl/7.83.1
> Accept: */*
> Authorization: YOUR KEY
>
* Mark bundle as not supporting multiuse
< HTTP/1.1 200 OK
< Date: Tue, 13 Sep 2022 22:15:50 GMT
< Content-Type: application/json; charset=utf-8
< Transfer-Encoding: chunked
< Connection: keep-alive
< CF-Ray: []
< Cache-Control: max-age=0, private, must-revalidate
< Set-Cookie: __cf_bm=adsfasdc=; path=/; expires=Tue, 13-Sep-22 22:40:41 GMT; domain=.pexels.com; HttpOnly; Secure; SameSite=None
< Vary: Origin
< CF-Cache-Status: DYNAMIC
< Alt-Svc: h3=":443"; ma=86400, h3-29=":443"; ma=86400
< X-Frame-Options: SAMEORIGIN
< X-Ratelimit-Limit: 20000
< X-Ratelimit-Remaining: 19730
< X-Ratelimit-Reset: 1665617809
< X-Request-Id: []
< X-Runtime: 0.402734
< X-Server: alpaca
< X-Tyk-Cached-Response: 1
< Set-Cookie: __cf_bm=[]=; path=/; expires=Tue, 13-Sep-22 22:45:50 GMT; domain=.pexels.com; HttpOnly; Secure; SameSite=None
< Server: cloudflare
<
{"page":1,"per_page":1,"photos":[{"id":2050994,"width":3648,"height":5472,"url":"https://www.pexels.com/photo/woman-standing-near-yellow-petaled-flower-2050994/","photographer":"Edu Carvalho","photographer_url":"https://www.pexels.com/@educarvalho","photographer_id":1026575,"avg_color":"#5A4B39","src":{"original":"https://images.pexels.com/photos/2050994/pexels-photo-2050994.jpeg","large2x":"https://images.pexels.com/photos/2050994/pexels-photo-2050994.jpeg?auto=compress\u0026cs=tinysrgb\u0026dpr=2\u0026h=650\u0026w=940","large":"https://images.pexels.com/photos/2050994/pexels-photo-2050994.jpeg?auto=compress\u0026cs=tinysrgb\u0026h=650\u0026w=940","medium":"https://images.pexels.com/photos/2050994/pexels-photo-2050994.jpeg?auto=compress\u0026cs=tinysrgb\u0026h=350","small":"https://images.pexels.com/photos/2050994/pexels-photo-2050994.jpeg?auto=compress\u0026cs=tinysrgb\u0026h=130","portrait":"https://images.pexels.com/photos/2050994/pexels-photo-2050994.jpeg?auto=compress\u0026cs=tinysrgb\u0026fit=crop\u0026h=1200\u0026w=800","landscape":"https://images.pexels.com/photos/2050994/pexels-photo-2050994.jpeg?auto=compress\u0026cs=tinysrgb\u0026fit=crop\u0026h=627\u0026w=1200","tiny":"https://images.pexels.com/photos/2050994/pexels-photo-2050994.jpeg?auto=compress\u0026cs=tinysrgb\u0026dpr=1\u0026fit=crop\u0026h=200\u0026w=280"},"liked":false,"alt":"Woman Standing Near Yellow-petaled Flower"}],"total_results":8000,"next_page":"https://api.pexels.com/v1/search/?page=2\u0026per_page=1\u0026query=people"}* Connection #0 to host api.pexels.com left intact