InsightSocial API
DuckDuckGo

DuckDuckGo Images API reference

Your first 10 calls are free, no card needed. Pricing and FAQ

Get a free API key
Example request
curl "https://api.insightsocial.app/v1/duckduckgo/images?query=<query>" \
  -H "x-api-key: $INSIGHTSOCIAL_API_KEY"
GET
/v1/duckduckgo/images

Search DuckDuckGo Images by keyword and region, filtered by size, colour, type, layout, licence and date, with each image's size and source page.

Beta. The source's own structure under our naming rules (snake_case keys, string ids, ISO times where the source gives a timestamp), not one of the schema-2 entities. Fields may change. See Beta endpoints.

20 credits per call.

Paginates by cursor: see Pagination.

x-api-key<token>

Your key from the dashboard. It starts with isk_.

In: header

Query Parameters

query*string

What to search images for, e.g. red panda.

time?string

Only images first seen in the past day, week, month or year. Default: any time.

Value in

  • "day"
  • "week"
  • "month"
  • "year"
size?string

small, medium, large or wallpaper. Default: any size.

Value in

  • "small"
  • "medium"
  • "large"
  • "wallpaper"
color?string

color (colour images only), monochrome, or a main colour such as red or teal. Default: any.

Value in

  • "color"
  • "monochrome"
  • "red"
  • "orange"
  • "yellow"
  • "green"
  • "blue"
  • "purple"
  • "pink"
  • "brown"
  • "black"
  • "gray"
  • "teal"
  • "white"
type?string

photo, clipart, gif (animated), transparent or line (line drawings). Default: any type.

Value in

  • "photo"
  • "clipart"
  • "gif"
  • "transparent"
  • "line"
layout?string

square, tall or wide. Default: any layout.

Value in

  • "square"
  • "tall"
  • "wide"
license?string

Usage rights: any (any Creative Commons licence), public (public domain), share, share_commercially, modify or modify_commercially. Default: any licence, including none.

Value in

  • "any"
  • "public"
  • "share"
  • "share_commercially"
  • "modify"
  • "modify_commercially"
country?string

Two-letter country code of the results' region, e.g. GB or DE. Default: US.

language?string

Two-letter language code for a country with several, e.g. fr with CH. Default: the region's first language.

cursor?string

Pass pagination.next_cursor from the previous response to get the next page. Keep the other parameters the same.

dry_run?"1"

Set to 1 to get the price of this call without making it: data.dry_run carries credits_min and credits_max. Nothing is charged.

Value in

  • "1"

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://api.insightsocial.app/v1/duckduckgo/images?query=string"
{  "success": true,  "platform": "string",  "endpoint": "string",  "schema_version": "2",  "pagination": {    "next_cursor": "string",    "has_more": true,    "page_size": 0,    "stopped_at": "since"  },  "unavailable": [    "string"  ],  "credits_used": 0,  "credits_remaining": 0,  "request_id": "string",  "cached": true,  "idempotent_replay": true,  "charge_reason": "string",  "free_call": true,  "data": {    "property1": null,    "property2": null  }}