Getty Images API Forums

Authentication (OAuth, CreateSession, Tokens)

RSS Feed

Limiting results to allowed images for account

  1. Hi,

    We've switched from using the Test Key to the Production Key and are facing issues when making calls to the search endpoint passing a token generated via the Client Credentials flow.

    Before the switch, a request to a search endpoint would only return image results to which we have access (images that we can download in high res). But after the switch, we started to get all of Getty's images as results.

    This happens on our implementation on the API and on Swagger UI. Is there any way we can fix this? We can't just display all 180+ million images from Getty's catalog on our site, and need to limit the results to the images that we have proper access to.

    Thanks in advance,


    Message edited by posterhouse_gettyapi 4 weeks ago

  2. Mark Pitman4 weeks ago

    Hi, I did a test with your test and production keys and these are the results I found:

    Test key - /search/images

    • With token: 8,635,448 results
    • Key only: 191,877,851 results

    Production key - /search/images

    • With token: 8,635,448
    • Key Only: 191,877,851 results

    Is it possible when you switched to the production key that you are no longer sending the Authorization: Bearer {access_token} header?

[ Page 1 of 1 ]