Skip to content
Skip to Content

Get format

One visual format, for writing, briefing or tagging an ad in it. Returns its page's head, then the guide: how_to_tell (must_be, not_this, quick_test), confused_with, how_to_build, and a few example ads, longest Meta run first (read them with Get ads). It teaches the format, never that it performs. A format with no guide yet has its gloss and examples, and null for the rest. Without a plan, the first 10 examples. Same as the MCP tool get_format.

get/api/v1/formats/{slug}

Authentication

API key, OAuth token or signed-in session, sent as Authorization: Bearer <key or token> (a session rides on its cookie). An OAuth token needs mcp:read. See authentication.

Path parameters

Response fields

  • slugstring

  • namestring

  • glossstring or null

    The one line List visual formats gives it.

  • definitionstring or null

  • how_to_tellobject or null

    How to recognise the format.

  • confused_witharray of object

    Formats it is mixed up with, each with the line that tells them apart.

  • how_to_buildobject or null

    When to use the format, and how to make one.

  • examplesarray of object

    A few library ads in this format, longest Meta run first, else newest. Read them with Get ads.

  • corrected_filtersarray of object

    Present when the slug was read as another. Say which format the guide is for.

  • urlstring (uri)

    The format's page in the app.

  • notestring

    With no plan, examples are cut to the first 3 and this says so.

Responses

  • 200

    The guide. Body: FormatGuide.

  • 400

    A parameter is missing or out of range. Body: Problem.

  • 401

    No credentials, or the token is invalid or expired. The oauth2 security scheme says how to get one. Body: Problem.

  • 403

    The token lacks the mcp:read scope. Body: Problem.

  • 404

    No such brand, niche, format, visual format, hook tactic or ad. Body: Problem.

  • 429

    rate_limited: more than 60 requests a minute from this account. quota_exceeded: the plan's MCP/API allowance is used up (10,000 a month on Pro, 50,000 a month on Agency, 200 a day on the 7-day free trial, UTC), or an account with no plan has used its 20 preview calls. detail says which limit and when it resets. resolution says what to do next and links to the plans page. Show both to the person. Body: Problem.

  • 503

    The library could not be read; retry shortly. Body: Problem.