Getty Images API Forums


RSS Feed

Search by getty id returns more than one image

    • Gulshan
    • Topic created 6 months ago

    Hi, In previous versions of getty api, we were able to search by getty id as phrase. But in getty v3 api, when we search using phrase=<getty id> the api returns more than one image. e.g. for getty id=100979907!/OAuth/ClientCredentials_Post when we search using phrase=100979907 in swagger, it returns two images image 1 with id=588223292 image 2 with id=100979907 second result is acceptable, but we're not sure why'd first result is there.? Please help.. Is there a way to return one image with that particular id...

    Message edited by Gulshan 6 months ago

  1. Mark Pitman6 months ago

    The best way to get metadata for an image is by using the{id} endpoint. Searching will work most of the time, but as you can see, it will sometimes return multiple images in the results.

[ Page 1 of 1 ]