posts.design API

Search posts.design from your own code and get the same results your agent gets

Your key

Send your personal key with every request. It's the key your agent uses, in Settings. Keep it on your server, never in a web page or an app people download.

Get your key

Find Posts, OG images and Headers. Each result has a key.id to open it with.

curl -H "Authorization: Bearer $POSTS_KEY" \
  "https://posts.design/api/v1/search?q=pricing+page&collection=og-images"
  • q. What to look for. Leave it empty with a filter to list what matches.
  • collection. posts (the default), og-images or headers.
  • sort. relevance (the default) or recent, newest first.
  • limit. 1 to 25 results a page; 10 by default.
  • cursor. The nextCursor from the page before. A search returns its first 100 results.
  • Filters. format, category, tone, shape, style, colour, brand, and pageType for OG images.
  • also. Up to two more queries in the same request, for one credit: also=hero&also=launch.

Open a reference

Open any result by its key.id for its source, attribution, dates, classification, Subjects and media links.

curl -H "Authorization: Bearer $POSTS_KEY" \
  https://posts.design/api/v1/references/REFERENCE_ID

Credits and limits

  • One credit a request. A page of results or a reference. The same request again within a day is free, and so is a search that finds nothing.
  • Shared with your agent. Free has 100 credits a month and Pro 1,000. They refill on the 1st (UTC).
  • Errors. JSON with an error code and an HTTP status. On 429, wait the Retry-After seconds; out of credits says when they refill in refillsAt.
  • OpenAPI. /api/v1/openapi.json describes both requests.

Show posts.design on your site

Running a gallery or a tool that needs more? Reach out to integrate

Reach out