SocialHz Engineering · 19 November 2026 · Requested by a customer

Profile audits: you and your competitors, measured the same way

POST /api/v1/audits · GET /api/v1/audits/{id} · GET /api/v1/audits · DELETE /api/v1/audits/{id}

What shipped

Name your brand and up to five competitors, each with up to four profile links, and an audit collects their recent posts in the background and measures every brand the same way: how often they post, how steadily, which formats they use, what each format averages, engagement rate, and their best and worst posts against their own average. Instagram is first; more platforms follow.

Why

Teams comparing themselves with competitors were collecting each profile by hand and then counting in spreadsheets, each in a slightly different way. They asked for one call that measures everyone with the same rules, so the comparison is fair.

Start one

Profiles are links or platform:handle. sample is the last N posts (6 to 60, 30 if you leave it out) or the last N days (7 to 180), not both. The answer is 202 with the audit's id, its quote in credits and, when you give a webhook, the secret its calls are signed with.

POST /api/v1/audits
X-API-Key: <your key>

{ "brands": [
    { "name": "Brightleaf", "role": "me", "profiles": ["https://instagram.com/brightleaf"] },
    { "name": "Northwind", "role": "competitor", "profiles": ["instagram:northwind"] },
    { "name": "Blue Harbor", "role": "competitor", "profiles": ["instagram:blueharbor"] } ],
  "sample": { "posts": 30 }, "extremes": 3,
  "max_credits": 400,
  "webhook_url": "https://brightleaf.example/hooks/audit" }

What comes back

  • For each profile: posts_per_week, consistency (weeks with posts, longest gap in days), format_mix, averages per format, engaged_per_post, engagement_rate (average likes and comments over followers, as a percentage) and main_format.
  • The best and worst posts for each profile, each with vs_average against that profile's own average. Posts younger than 48 hours are left out, since they are still collecting likes.
  • comparison.by_platform puts the brands side by side on each platform, and comparison.by_brand gives each brand's totals. Flags such as many_posts_low_engagement or few_posts_high_engagement mark a profile against the others.
  • A number the platform doesn't give is null and named in missing, never guessed.

When it's done

{ "event": "audit.finished", "audit_id": "aud_…", "status": "done",
  "credits": { "charged": 214, "refunded": 6 },
  "links": { "status": "/api/v1/audits/aud_…" } }

What it costs

An audit costs what its calls cost at list price, with nothing on top, and you see the quote before it starts. A call that fails or finds nothing is given back. max_credits stops an audit before it starts if the quote is higher, and a workspace runs up to three audits at once.

Switched on per workspace. Ask us and we'll turn it on for yours.

Request a feature

Tell us what you need on the updates page. The engineering team reads every request.

Search API reference · All engineering updates