removedInput schema / properties / after_date
Removed value: -{
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "description": "Only return photos published on or after this date, formatted `YYYY-MM-DD`.",
- "example": "2025-01-01",
- "title": "After Date"
-}
removedInput schema / properties / color_hex
Removed value: -{
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "description": "Keep only photos close to this hex color (e.g. `#1E90FF`). Cannot be combined with `color_name`. Use `color_tolerance` to widen or tighten the match.",
- "title": "Color Hex"
-}
removedInput schema / properties / color_name
Removed value: -{
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "description": "Keep only photos whose dominant color matches one of: red, orange, yellow, green, blue, purple, pink, brown, black, white, gray, teal, beige, gold, navy. Cannot be combined with color_hex.",
- "example": "blue",
- "title": "Color Name"
-}
removedInput schema / properties / color_tolerance
Removed value: -{
- "anyOf": [
- {
- "maximum": 255,
- "minimum": 0,
- "type": "integer"
- },
- {
- "type": "null"
- }
- ],
- "description": "How far a photo's color may be from `color_hex` and still match, from `0` (exact match) to `255` (very loose). Defaults to `20`. Only applies when `color_hex` is set.",
- "title": "Color Tolerance"
-}
removedInput schema / properties / cursor
Removed value: -{
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "description": "Token used to fetch the next page. Take the `pagination.next_cursor` value from a previous response and pass it back here. See the [Pagination](/pagination) guide.",
- "title": "Cursor"
-}
addedInput schema / properties / english_search_sentence
Added value: +{
+ "description": "Required. Describe the desired photograph in one concise English sentence, focusing on its visible subject and scene.\n\nBe specific: “Two colleagues laughing in a bright open-plan office” is more effective than “People office”. Keywords work too — send the user's own words, in English, rather than inventing detail they did not ask for.\n\nMaximum 250 characters. Describe one coherent scene, focusing on what should appear in the photograph rather than its intended use.\n\nSpecify the requested photo shape or orientation in explicit_orientation_filter, not here.\n\nExample: “An old man sitting at a café table he has visited every morning for thirty years”.",
+ "examples": [
+ "two people sharing a bench in comfortable silence"
+ ],
+ "maxLength": 250,
+ "minLength": 1,
+ "type": "string"
+}
addedInput schema / properties / explicit_orientation_filter
Added value: +{
+ "anyOf": [
+ {
+ "items": {
+ "enum": [
+ "landscape",
+ "portrait",
+ "square"
+ ],
+ "type": "string"
+ },
+ "type": "array"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Omit this parameter unless the user explicitly asks for a photo shape or orientation in their own words, or names a format whose shape is part of its definition — a vertical Short, a banner, a square post, a phone wallpaper.\n\nThis is a hard filter, not a preference: it removes photos with other shapes before ranking, so using a shape the user did not request can exclude the best matches.\n\nNever infer the shape from a word inside `english_search_sentence` — “landscape” in “a natural landscape” names the scene, not the format — nor from the subject, the composition, or a purpose that fixes no shape (“a photo for my blog post”, “something for my landing page”). If you are choosing a value rather than repeating one explicitly requested by the user, omit it.\n\nAllowed values: `landscape`, `portrait`, `square`. Multiple values are allowed: two shapes return more than one alone, though any filter still returns less than none. For example, “anything but portrait” means `['landscape', 'square']`."
+}
removedInput schema / properties / license_type
Removed value: -{
- "anyOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "type": "null"
- }
- ],
- "description": "Keep only photos with these license types: free, cc0. 'free' means the photo can be used freely and attribution is appreciated. Repeat the parameter to pass several.",
- "example": "free",
- "title": "License Type"
-}
removedInput schema / properties / orientation
Removed value: -{
- "anyOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "type": "null"
- }
- ],
- "description": "Keep only photos with these shapes: landscape, portrait, square. Repeat the parameter to pass several.",
- "example": "landscape",
- "title": "Orientation"
-}
removedInput schema / properties / photographer
Removed value: -{
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "description": "Only return photos from this photographer's username. Use `GET /api/v1/facets/photographers/suggest` to find usernames.",
- "example": "nasa",
- "title": "Photographer"
-}
removedInput schema / properties / q
Removed value: -{
- "anyOf": [
- {
- "maxLength": 500,
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "description": "Your search query as a full natural-language sentence describing the scene you want — Pexafy is semantic, so sentences beat keywords. Up to 500 characters. Optional if you provide at least one filter instead. Example: 'an old man sitting at a café table he has visited every morning for thirty years'.",
- "example": "two people sharing a bench in comfortable silence",
- "title": "Q"
-}
removedInput schema / properties / source
Removed value: -{
- "anyOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "type": "null"
- }
- ],
- "description": "Keep only photos from these providers: Unsplash, Pexels, Pixabay, Kaboompics, Burst, StockSnap, Picjumbo, Skitterphoto, NegativeSpace. Repeat the parameter to pass several.",
- "example": "Unsplash",
- "title": "Source"
-}
changedInput schema / required
Previous value: -[]New value: +[
+ "english_search_sentence"
+]
addedOutput schema / properties / budget
Added value: +{
+ "description": "Present only when the caller is near the end of an allowance — the daily one without an account, the monthly one with. What is left of it, and, for a caller with no account, the one sentence that says what lifts the limit. Also carried by a refusal, where it describes the wall itself.",
+ "properties": {
+ "limit": {
+ "description": "Searches allowed in that period.",
+ "type": "integer"
+ },
+ "message": {
+ "description": "The whole notice in words, for a host with no UI.",
+ "type": "string"
+ },
+ "remaining": {
+ "description": "Searches left in that period.",
+ "type": "integer"
+ },
+ "scope": {
+ "description": "Which allowance this counts: the daily one or the monthly one. Both exist with or without an account, so `signed_in` does not tell them apart.",
+ "enum": [
+ "day",
+ "month"
+ ],
+ "type": "string"
+ },
+ "signed_in": {
+ "description": "Whether the caller has an account. False is the anonymous allowance.",
+ "type": "boolean"
+ },
+ "state": {
+ "description": "`warning` while there is room left, `exhausted` once there is none.",
+ "enum": [
+ "warning",
+ "exhausted"
+ ],
+ "type": "string"
+ },
+ "used": {
+ "description": "Searches spent in that period.",
+ "type": "integer"
+ }
+ },
+ "type": "object"
+}
changedOutput schema / properties / data / items / description
Previous value: -"A photo result. Fields returned can be narrowed with the `fields` parameter and may depend on your plan."New value: +"One photograph of this answer."
changedOutput schema / properties / data / items / properties / attribution / description
Previous value: -"Ready-to-display credit for the photographer/source."New value: +"The credit line to display, already written."
removedOutput schema / properties / data / items / properties / attribution / properties / html
Removed value: -{
- "description": "HTML attribution snippet.",
- "type": "string"
-}
removedOutput schema / properties / data / items / properties / blur_hash
Removed value: -{
- "description": "BlurHash placeholder string.",
- "type": [
- "string",
- "null"
- ]
-}
removedOutput schema / properties / data / items / properties / color_hex
Removed value: -{
- "description": "Dominant color hex code.",
- "type": "string"
-}
removedOutput schema / properties / data / items / properties / color_name
Removed value: -{
- "description": "Dominant color name.",
- "type": "string"
-}
removedOutput schema / properties / data / items / properties / description
Removed value: -{
- "description": "AI-generated caption.",
- "type": [
- "string",
- "null"
- ]
-}
removedOutput schema / properties / data / items / properties / image_url
Removed value: -{
- "description": "Canonical source image URL.",
- "format": "uri",
- "type": "string"
-}
addedOutput schema / properties / data / items / properties / orientation / description
Added value: +"The shape of this photograph — `landscape`, `portrait` or `square`, the values `explicit_orientation_filter` takes."
removedOutput schema / properties / data / items / properties / photographer_url
Removed value: -{
- "format": "uri",
- "type": [
- "string",
- "null"
- ]
-}
removedOutput schema / properties / data / items / properties / photographer_username
Removed value: -{
- "type": "string"
-}
addedOutput schema / properties / data / items / properties / rank
Added value: +{
+ "description": "This photograph's place in this answer, from 1. A person may name a result by position (“the second one”); the tools take that result's `photo_id`, not its rank.",
+ "type": "integer"
+}
removedOutput schema / properties / data / items / properties / relevance_score
Removed value: -{
- "description": "Match score 0–1 (higher is better). Only on search results.",
- "type": [
- "number",
- "null"
- ]
-}
removedOutput schema / properties / data / items / properties / source_description
Removed value: -{
- "type": [
- "string",
- "null"
- ]
-}
changedOutput schema / properties / data / items / properties / source_image_url / description
Previous value: -"URL of the photo's page on the provider."New value: +"The photograph's page on the library it came from — where to send someone who wants the source."
removedOutput schema / properties / data / items / properties / uploaded_on
Removed value: -{
- "description": "Publication date (YYYY-MM-DD).",
- "type": [
- "string",
- "null"
- ]
-}
changedOutput schema / properties / data / items / properties / urls / description
Previous value: -"Ready-to-use image links in five sizes."New value: +"The photograph's image file, 1280 pixels wide, for a page, a document or a download. `urls` carries this one variant and no other."
removedOutput schema / properties / data / items / properties / urls / properties / full
Removed value: -{
- "format": "uri",
- "type": "string"
-}
removedOutput schema / properties / data / items / properties / urls / properties / large
Removed value: -{
- "format": "uri",
- "type": "string"
-}
removedOutput schema / properties / data / items / properties / urls / properties / small
Removed value: -{
- "format": "uri",
- "type": "string"
-}
removedOutput schema / properties / data / items / properties / urls / properties / thumb
Removed value: -{
- "format": "uri",
- "type": "string"
-}
changedOutput schema / properties / error / anyOf
Previous value: -[
- {
- "properties": {
- "code": {
- "description": "Machine-readable error code (e.g. `MISSING_PARAMS`, `PHOTO_NOT_FOUND`).",
- "type": "string"
- },
- "message": {
- "description": "Human-readable error message.",
- "type": "string"
- },
- "request_id": {
- "type": "string"
- }
- },
- "required": [
- "code",
- "message"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
-]New value: +[
+ {
+ "properties": {
+ "code": {
+ "description": "Machine-readable error code (e.g. `MISSING_PARAMS`, `PHOTO_NOT_FOUND`).",
+ "type": "string"
+ },
+ "message": {
+ "description": "Human-readable error message.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "code",
+ "message"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+]
removedOutput schema / properties / meta
Removed value: -{
- "properties": {
- "request_id": {
- "description": "Unique id for this request (quote it in support tickets).",
- "type": "string"
- },
- "took_ms": {
- "description": "Server processing time in milliseconds.",
- "type": "number"
- }
- },
- "type": "object"
-}
addedOutput schema / properties / notice
Added value: +{
+ "description": "Why this answer is empty, when it is. A plan limit was reached: the allowance and when it returns. There is nothing to retry until then.",
+ "type": "string"
+}
removedOutput schema / properties / pagination
Removed value: -{
- "anyOf": [
- {
- "properties": {
- "has_more": {
- "description": "Whether another page exists.",
- "type": "boolean"
- },
- "next_cursor": {
- "description": "Pass back as `cursor` for the next page; `null` when `has_more` is false.",
- "type": [
- "string",
- "null"
- ]
- },
- "per_page": {
- "description": "Number of items per page.",
- "type": "integer"
- }
- },
- "type": "object"
- },
- {
- "type": "null"
- }
- ]
-}