Overview
Getty Images offers a comprehensive API that enables developers to integrate its vast library of visual and audio content directly into their applications. This includes access to millions of stock photos, editorial images, videos, and music tracks, catering to a range of professional use cases from content creation platforms to news syndication services. The API is designed for businesses and developers who require programmatic access to high-quality, licensed media for commercial, editorial, or creative projects.
The platform is suitable for entities requiring a large volume of diverse content, such as media organizations, advertising agencies, and software developers building content management systems or digital asset management solutions. Its strengths lie in its extensive collection, which includes exclusive editorial content and historical archives, making it a resource for current events and specialized visual needs. Developers can use the API to search for content, display thumbnails, and facilitate the licensing and download of assets, streamlining workflows for content acquisition and deployment.
Getty Images focuses on providing licensed content, ensuring that all assets come with the necessary rights for commercial or editorial use. This contrasts with platforms that primarily offer royalty-free or user-generated content, positioning Getty Images as a provider for professional-grade, rights-managed, and rights-ready media. The API supports various search parameters, including keywords, image orientation, color, and content type, allowing for precise content discovery. It also provides metadata for each asset, which can be crucial for categorization, SEO, and accessibility within integrated applications. For developers building applications that require curated, high-resolution imagery and video, the Getty Images API offers a direct pathway to a professionally managed content catalog.
Key features
- Content Search and Discovery: Access a library of over 470 million assets, including photos, illustrations, vectors, videos, and music, with advanced search filters for content type, orientation, color, and more.
- Editorial Content Access: Programmatic access to breaking news, sports, and entertainment imagery, often available in near real-time for editorial applications.
- Licensing and Download: Facilitate the licensing and direct download of high-resolution assets within integrated applications, managing usage rights programmatically.
- Metadata Retrieval: Obtain detailed metadata for each asset, including captions, keywords, artist information, and usage restrictions, to enhance content management.
- Image and Video Embeds: Utilize capabilities to embed content directly into web pages and applications, with options for watermarking and attribution.
- SDK Support: Official SDKs are available for Python, Node.js, PHP, and .NET, simplifying integration and development workflows.
Pricing
Getty Images offers various pricing models primarily based on subscription plans or on-demand content packs. Pricing is structured to accommodate individual users, small businesses, and large enterprises, with varying levels of access and download allowances. The specific cost per image or video decreases with higher volume plans. As of 2026-05-28, pricing details are available on the Getty Images plans and pricing page.
| Plan Type | Key Features | Starting Price (approx.) | Typical Use Case |
|---|---|---|---|
| Annual Packs | Fixed number of downloads per year; rollover for unused downloads | $150 for 5 annual downloads | Small businesses, infrequent users |
| Monthly Subscriptions | Monthly download limits; access to full library | Varies by download volume | Regular content creators, agencies |
| Premium Access | Custom enterprise solutions; unlimited downloads; dedicated support | Custom quote | Large enterprises, media organizations |
| Video & Music Packs | Specific packs for video clips and music tracks | Varies by asset type and volume | Video producers, broadcasters |
Common integrations
- Digital Asset Management (DAM) Systems: Integrate to automatically pull licensed content into organizational DAM platforms for centralized management and distribution.
- Content Management Systems (CMS): Embed Getty Images search and licensing directly within CMS platforms like WordPress or Drupal for streamlined content workflows.
- News and Media Platforms: Utilize the API for real-time editorial image access to support breaking news coverage and article illustrations.
- Advertising and Marketing Platforms: Integrate into creative platforms to source high-quality visuals for ad campaigns, social media, and marketing materials.
- Creative Tools: Connect with photo and video editing software to directly access and manage licensed assets within creative workflows.
Alternatives
- Shutterstock: Offers a large library of royalty-free stock photos, vectors, videos, and music with subscription-based pricing.
- Adobe Stock: Provides integrated access to millions of creative assets directly within Adobe Creative Cloud applications.
- Alamy: Features a diverse collection of stock photography, including news, sports, and archival images, often with a focus on unique and niche content.
Getting started
To begin using the Getty Images API, developers typically need to register for a developer account and obtain API credentials, including an API key and secret. These credentials are used for authenticating requests to the API. The official Getty Images developer documentation provides detailed guides and examples for various programming languages. Below is a Python example demonstrating how to search for images using the Getty Images API.
import requests
API_KEY = "YOUR_API_KEY"
API_SECRET = "YOUR_API_SECRET"
def get_access_token(api_key, api_secret):
token_url = "https://api.gettyimages.com/oauth2/token"
headers = {"Content-Type": "application/x-www-form-urlencoded"}
data = {
"client_id": api_key,
"client_secret": api_secret,
"grant_type": "client_credentials"
}
response = requests.post(token_url, headers=headers, data=data)
response.raise_for_status()
return response.json()["access_token"]
def search_images(access_token, query, page_size=20):
search_url = "https://api.gettyimages.com/v3/search/images"
headers = {"Api-Key": API_KEY, "Authorization": f"Bearer {access_token}"}
params = {"phrase": query, "page_size": page_size}
response = requests.get(search_url, headers=headers, params=params)
response.raise_for_status()
return response.json()
if __name__ == "__main__":
try:
access_token = get_access_token(API_KEY, API_SECRET)
print("Access Token obtained.")
search_query = "nature landscape"
results = search_images(access_token, search_query)
print(f"Found {len(results['images'])} images for '{search_query}':")
for i, image in enumerate(results["images"][:5]): # Print first 5 results
print(f" {i+1}. ID: {image['id']}, Title: {image.get('title', 'N/A')}, URL: {image['display_sizes'][0]['uri']}")
except requests.exceptions.RequestException as e:
print(f"API request failed: {e}")
except Exception as e:
print(f"An error occurred: {e}")
This Python script first obtains an OAuth 2.0 access token using the provided API key and secret. It then uses this token to authenticate a search request for images matching a specified query. The response contains a list of image metadata, including display URLs, which can be used to integrate the search results into an application. Developers should replace "YOUR_API_KEY" and "YOUR_API_SECRET" with their actual credentials from their Getty Images developer account.