Run it
Paste this to your agent, filled in:Context for the agent
Klint is the social context API: it searches and extracts Instagram posts and accounts, returned with transcripts, on-screen text, and creative structure already analyzed. Base URLhttps://api.tryklint.ai. Every request needs Authorization: Bearer $KLINT_API_KEY; never print or echo the key. This page is the source of truth for this procedure; work from the fetched copy, not memory. The full documentation index is at https://tryklint.ai/llms.txt, and the whole API contract is at https://tryklint.ai/for-agents/coding-agents.md. Last updated July 18, 2026.
Inputs
Verify you have all of these before calling the API. If any are missing, ask your operator; don’t guess.Objectives
Produce exactly one artifact: a brief containing two to four hook patterns, each backed by three or more independent accounts, in the Output format below. Nothing else counts as done.Procedure
1
Sweep the window's relevant posts
Both sweeps are Each result already carries its hook, topics, and creative format. If Klint rejects the niche ID, the error lists valid candidates. Pick the closest. Note the substitution in your brief.
POST https://api.tryklint.ai/v1/instagram/posts/search. Compute the window start as an RFC 3339 timestamp before building the request. Use the operator’s niche two ways at once. Use it as the semantic query (phrased as content, not keywords) and as the author niches filter.2
Pull the window's outperformers
A second, structural sweep: posts beating their own account’s baseline, whatever their topic. Two constraints before you build it. Filters-only searches may sort, but
sort and query never appear together. view_ratio_to_account_baseline only exists for accounts with enough history, so this sweep undercounts very new accounts. Don’t read absence as failure.3
Extract the strongest candidates
For the top posts across both sweeps,
GET https://api.tryklint.ai/v1/instagram/posts/{id}. The full post carries the transcript, on-screen text, hook construction, key messages, and offer. Compare how posts open and how they’re built, not just what they’re about.4
Cluster, then count distinct accounts
No API call. Group posts by hook construction and creative format. Then apply the survival rule: one viral post is noise. A pattern only enters the brief if it appears across three or more independent accounts. Judgment is yours on cluster boundaries; the three-account floor is not.
5
Verify before you report
Check the artifact against the Objectives. Every pattern cites three or more accounts. Every claim links to post IDs from your responses. If no pattern survives, do not pad with weaker ones. Report the empty result and offer to widen the window or the band. An empty sweep means nothing qualified in this scope, not that the niche is quiet.
Output format
Use exactly this structure:Boundaries
- The brief describes what happened in the window. Never present a pattern as a prediction that it keeps working.
- Cite only posts returned by your own calls. No memory, no invention.
- If the operator asks for more than this page covers, fetch
https://tryklint.ai/llms.txtand route from there.