Spiral gives your agent every tool with one account. Browse the tools →

Codex · SEO

How to Use TikTok company ads in Codex

Fetch a company's sponsored TikTok videos with captions, posting dates, video links, and engagement counts. Use it to compare brand messaging or review sponsored creator content with a sample ad per creator.

Prompts to try with TikTok company ads in Codex

Copy an example into Codex, or ask in your own words.

Use TikTok company ads for gymshark.com and add a report to this project showing the returned sponsored videos.

TikTok company adsCodex
Try asking
  • Use TikTok company ads for nike.com and create a CSV export of the returned records in this project.

  • Use TikTok company ads for duolingo.com, include sponsored creator samples, and build separate brand and creator sections.

  • Use TikTok company ads for sephora.com and add a view that groups returned captions by product name.

  • Use TikTok company ads for gymshark.com and compare the returned videos with our project's previous saved report.

How to set up TikTok company ads in Codex

Pick the way that suits you. Each takes about two minutes.

Use Spiral's MCP server

  1. Add the hosted server
    codex mcp add spiral --url https://api.spiral.ai/mcp
  2. Sign in

    Codex opens the browser: sign in to Spiral and click Authorize. No API key. codex mcp list then shows Spiral.

    codex mcp login spiral

Use the Spiral skill

  1. Send Codex this message

    Your agent reads Spiral's skill and sets itself up.

    set up https://spiral.ai/SKILL.md
  2. Sign in or paste a key

    Approve Spiral in the browser, or give the agent a key from the console.

Use the Spiral CLI

  1. Install and sign in

    Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

    npx -y spiral-cli@latest init

Call the Spiral API

  1. Create an API key

    In the console, under API keys.

  2. Run TikTok company ads

    One request; the result comes back by polling or a webhook.

    curl https://api.spiral.ai/v1/runs \
      -H "Authorization: Bearer $SPIRAL_API_KEY" \
      -H "Content-Type: application/json" \
      -H "Idempotency-Key: $(uuidgen)" \
      -d '{
        "provider": "alexandria",
        "model": "adyntel/tiktok-ads/company",
        "input": {
          "company_domain": "<company_domain>"
        }
      }'

Then paste one of the prompts above: Codex finds TikTok company ads on Spiral, shows the price and runs it.

TikTok company ads providers and prices

Spiral runs TikTok company ads through Alexandria. Open a card for today's price, with every fee included.

AlexandriaSEO
Adyntel · TikTok ads for a company
adyntel/tiktok-ads/company

Settings you can ask for

Ask Codex for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Influencer adson or off

When true, also return influencers posting sponsored content, each with a sample ad. Costs one extra credit when any ads come back.

Every API field of Adyntel · TikTok ads for a company is on its tool page: open its card above.

What can you do with TikTok company ads in Codex?

Build a competitor ad report in your project from TikTok sponsored videos and creator samples. Turn returned records into a sortable review table and compare observations across saved runs.

Prepare a competitor messaging brief

Group returned sponsored captions by product, offer, and recurring phrase. Give the creative team links to the examples behind each observation.

Build a sponsored video review queue

Sort returned videos by plays and shares to choose examples for manual creative review.

Review public creator sponsorships

Collect the sample sponsored ad returned for each creator and compare its message with the brand's own ads.

Follow product launch messaging

Find product names and launch dates in sponsored captions. Arrange matching videos by posting date to build a campaign brief.

Measure changes in observed engagement

Compare counts for the same returned video across scheduled checks. Flag increases in plays, shares, or saves for review.

Prepare an agency account review

Use a public business's returned sponsored videos and creator samples to prepare specific questions about its TikTok creative strategy.

Questions about TikTok company ads in Codex

Can Codex use TikTok company ads?

Yes. Add Spiral to Codex as an MCP server, and Codex can find and run TikTok company ads like any built-in tool.

How much does TikTok company ads cost in Codex?

Up to $0.0977704 per run. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Codex plan is separate.

Do I need an Alexandria account to use TikTok company ads in Codex?

No. Spiral runs TikTok company ads on its own Alexandria account. You sign in to Spiral once and never paste a key.

How long does it take to set up TikTok company ads in Codex?

About two minutes: add the hosted server, then sign in.

Does Codex wait while TikTok company ads runs?

TikTok company ads runs in the background. Codex starts the run, checks on it and gives you the json when it's ready.

What does the company lookup cover?

It retrieves TikTok ads associated with a company. Sponsored creator results add one sample ad per creator, so those samples are not a complete creator posting history.

Which engagement measurements come back?

Adyntel lists six counts: plays, likes, comments, shares, saves, and downloads. Ad records also include a caption, posting date, region, and video link.

Does one response contain the company's entire ad inventory?

Adyntel paginates company ad results and uses continuation tokens for additional pages. A response with a continuation token should not be described as the full inventory.

Does Adyntel guarantee complete coverage?

No. Its terms explicitly disclaim guarantees of data accuracy, completeness, and reliability, so missing results cannot establish that a company has no TikTok advertising.

What data do Adyntel's terms permit extracting?

The acceptable-use clause limits extraction to publicly accessible advertising libraries, subject to Adyntel's terms. That permission does not establish access to private advertising records.

Get started

Start using TikTok company ads in Codex

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into Codex:

Set up Codex

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options