AdMakeAI REST API

RPC-style JSON REST API with dot-named tRPC procedure paths (e.g. adGeneration.create) covering ad image and UGC video generation, batch ad sets, ad copy, competitor ad research, Meta analytics, and Meta campaign draft publishing. POST bodies are JSON; GET inputs go in ?input=; responses are wrapped as { ok, tool, data }. Authenticated via an x-api-key header (or Authorization: Bearer). Every MCP tool is reachable here 1:1. AdMakeAI publishes an OpenAPI 3.1 contract for it at https://admakeai.com/openapi.json.

GitHub OpenAPI

Operations 60

POST /api/v1/user.me Get account profile #
POST /api/v1/user.getCredits Get credit balance #
POST /api/v1/adResearch.listProjects List projects #
POST /api/v1/project.createFirst Create first project #
POST /api/v1/adResearch.getProject Get project brief #
POST /api/v1/adResearch.pollStatus Get research status #
POST /api/v1/project.updateBrief Update brand brief #
POST /api/v1/project.getAssets List brand assets #
POST /api/v1/upload.uploadImageBase64 Upload image #
POST /api/v1/upload.getUserImages List uploaded images #
POST /api/v1/adGeneration.create Design an ad #
POST /api/v1/adGeneration.generateImage Render image from exact prompt #
POST /api/v1/adGeneration.edit Edit ad image #
POST /api/v1/adGeneration.getById Get ad #
POST /api/v1/adGeneration.list List ads #
POST /api/v1/adGeneration.getRecent List recent ads #
POST /api/v1/adGeneration.searchAll Search ads #
POST /api/v1/adGeneration.listPending List pending ads #
POST /api/v1/adGeneration.toggleFavorite Toggle ad favorite #
POST /api/v1/adCopyGeneration.generate Write ad copy #
POST /api/v1/adCopyGeneration.getMessagingStyles List ad copy styles #
POST /api/v1/adSet.list List ad sets #
POST /api/v1/adSet.get Get ad set #
POST /api/v1/adSet.create Create ad set #
POST /api/v1/adSet.update Update ad set #
POST /api/v1/adSet.getGenerations List ads in ad set #
POST /api/v1/adSet.generateBatch Design ad set variations #
POST /api/v1/adSet.suggestDirections Suggest creative directions #
POST /api/v1/videoGeneration.start Create UGC video ad #
POST /api/v1/videoGeneration.getStatus Get video status #
POST /api/v1/videoGeneration.list List video ads #
POST /api/v1/videoGeneration.listPending List pending videos #
POST /api/v1/adResearch.searchCompanies Find advertiser page #
POST /api/v1/adResearch.getCompanyAds Get advertiser's live ads #
POST /api/v1/adResearch.addCompetitors Add competitors #
POST /api/v1/adResearch.scrapeCompetitor Refresh competitor ads #
POST /api/v1/adResearch.getCompetitorPreview Preview competitor ads #
POST /api/v1/adResearch.getScrapedAds Browse competitor ads #
POST /api/v1/adResearch.getAdDetails Get competitor ad #
POST /api/v1/adResearch.saveInspiration Save ad as inspiration #
POST /api/v1/adResearch.getSavedInspirations List saved inspirations #
POST /api/v1/facebookConnection.list List Facebook connections #
POST /api/v1/facebookUpload.getCampaigns List ad account campaigns #
POST /api/v1/facebookUpload.getAdSets List campaign ad sets #
POST /api/v1/facebookUpload.runPreflight Check ad before Meta upload #
POST /api/v1/facebookUpload.request Upload ad to Meta #
POST /api/v1/facebookUpload.list List Meta uploads #
POST /api/v1/facebookUpload.get Get Meta upload #
POST /api/v1/facebookCampaignDraft.sourceAssets Get reusable Meta creatives #
POST /api/v1/facebookCampaignDraft.getAgentDraft Get campaign draft #
POST /api/v1/facebookCampaignDraft.pushAgentDraft Push campaign draft to Meta #
POST /api/v1/facebookCampaignDraft.pushDraftCampaign Create Meta draft campaign #
POST /api/v1/zernioAnalytics.accountOverview Get ad account overview #
POST /api/v1/zernioAnalytics.tree Get campaign structure #
POST /api/v1/zernioAnalytics.timeline Get performance timeline #
POST /api/v1/zernioAnalytics.listCampaigns List campaign performance #
POST /api/v1/zernioAnalytics.listAds List ad performance #
POST /api/v1/zernioAnalytics.getAd Get Meta ad #
POST /api/v1/zernioAnalytics.getAdAnalytics Get ad daily analytics #
POST /api/v1/zernioAnalytics.getAdComments Get ad comments #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/admakeai:admakeai-rest-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

admakeai-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: AdMakeAI Agent API
  version: 1.0.0
  summary: Generate ad images and UGC video ads, research competitors' Meta ads, and read Meta ad performance.
  description: 'Every AdMakeAI agent tool is one endpoint: `POST /api/v1/<tool>` with the tool''s input as a plain JSON body (no tRPC or superjson envelope). The same tools are served over MCP at https://admakeai.com/api/mcp.


    **Auth.** Send an API key from https://admakeai.com/dashboard/integrations/api as `x-api-key: <key>` or `Authorization: Bearer <key>`. API keys can call every tool. OAuth 2.1 access tokens (`amai_at_…`) also work as a Bearer token, limited to the scopes the user granted.


    **Responses.** Success is `{ "ok": true, "tool": "<tool>", "data": <result> }` with dates as ISO 8601 strings. A tool error is `{ "ok": false, "error": { "code", "message" } }` with a matching HTTP status; auth and routing errors are `{ "error": "<message>" }`.


    **GET.** Any tool can also be called as `GET /api/v1/<tool>?input=<URL-encoded JSON>`. Tool names may use dots (`adGeneration.create`) or double underscores (`adGeneration__create`).


    **Async work.** Image and video tools queue a render and return its id: poll `adGeneration.getById` or `videoGeneration.getStatus` until `status` is `COMPLETED`. Tools that cost credits say so.'
  termsOfService: https://admakeai.com/resources/terms-of-service
  license:
    name: AdMakeAI Terms of Service
    url: https://admakeai.com/resources/terms-of-service
  contact:
    name: AdMakeAI Support
    email: support@admakeai.com
    url: https://admakeai.com/resources/faq
externalDocs:
  description: Agent API reference with a request tester
  url: https://admakeai.com/api/docs
servers:
- url: https://admakeai.com
tags:
- name: Account
  description: Profile, plan and credit balance.
- name: Projects
  description: Create the first project and edit a project's brand brief and assets.
- name: Ad research
  description: Projects, competitor tracking, and any brand's live ads from the Meta Ad Library.
- name: Uploads
  description: Upload source images and list them.
- name: Ad images
  description: Design, render and edit ad images, then poll them until COMPLETED.
- name: Ad copy
  description: Write Facebook and Instagram ad copy for an ad image.
- name: Ad sets
  description: A shared brief that batches of ad variations are generated from.
- name: Video ads
  description: UGC-style video ads.
- name: Meta connections
  description: The user's connected Facebook ad accounts and Pages.
- name: Meta uploads
  description: Check and upload AdMakeAI ads to a Meta ad account.
- name: Meta campaign drafts
  description: Create Meta campaigns, ad sets and ads as drafts.


# --- truncated at 32 KB (123 KB total) ---
# Full source: https://artifacts.apis.io/admakeai/openapi/admakeai-openapi.yml