Bulk Parquet export
Download tweets and profiles for bulk analysis. Each daily export checks current membership and opt-outs before publication.
Download the daily data export, query public records through the API, or give an agent one canonical starting point.
API v1 is live
The keyed Community Archive API at https://analytics.community-archive.org/v1 replaces the public Supabase REST API, which is retired on 19 November 2026. Move existing integrations before then; new projects should start on v1.
Point an agent here
https://www.community-archive.org/llms.txtThis plain-text index includes the data dump, API credentials, query examples, schema notes, and deeper documentation links.
Choose the policy-safe surface that fits your query.
Download tweets and profiles for bulk analysis. Each daily export checks current membership and opt-outs before publication.
Read tweets, timelines, search, accounts, members, likes and follows with a personal key. Cursor-paged, rate-limited, and served from the analytical store.
Signed-in owners can download their own processed archive JSON while current PostgreSQL policy permits it.
https://www.community-archive.org/api/archive/<username>
The daily package contains enriched tweets.parquet, separate profiles.parquet, and a manifest.json with row counts, schemas, and checksums. It includes eligible members and applies current consent to referenced authors too.
Use the latest release link below to find the most recent successful export. GitHub lists the download links; the files stay in consent-managed storage. Superseded packages are removed, so bookmark the latest release rather than an individual Parquet URL. Downloads may be temporarily withdrawn when consent changes.
Sign in, create a key on the API keys page, and send it as Authorization: Bearer cak_... on every request to https://analytics.community-archive.org/v1. Keep the key on your server or in your script, never in browser code. The full contract is the OpenAPI document.
export CA_API_KEY='cak_...' # create one at https://www.community-archive.org/settings/api-keys
# One account's tweets, newest first (page with next_cursor until it is null)
curl --get "https://analytics.community-archive.org/v1/accounts/exgenesis/tweets" \
-H "Authorization: Bearer $CA_API_KEY" \
--data-urlencode "order=desc" \
--data-urlencode "limit=5"
# Full-text search
curl --get "https://analytics.community-archive.org/v1/tweets/search" \
-H "Authorization: Bearer $CA_API_KEY" \
--data-urlencode "q=community archive" \
--data-urlencode "limit=5"const API = 'https://analytics.community-archive.org/v1'
const headers = { Authorization: `Bearer ${process.env.CA_API_KEY}` }
// Every tweet from one account, following the cursor
let cursor = null
do {
const url = new URL(`${API}/accounts/exgenesis/tweets`)
url.searchParams.set('order', 'asc')
url.searchParams.set('limit', '200')
if (cursor) url.searchParams.set('cursor', cursor)
const response = await fetch(url, { headers })
if (response.status === 429 || response.status === 503) {
const wait = Number(response.headers.get('Retry-After') ?? '5')
await new Promise((resolve) => setTimeout(resolve, wait * 1000))
continue
}
if (!response.ok) throw new Error(`${response.status} ${await response.text()}`)
const page = await response.json()
for (const tweet of page.data) console.log(tweet.created_at, tweet.full_text)
cursor = page.next_cursor
} while (cursor)GET /v1/tweets/{tweet_id} — one tweet; ?ids= for up to 100GET /v1/tweets?since=&until= — every tweet in a window of up to 31 daysGET /v1/tweets/search?q= — full-text searchGET /v1/accounts/{account} — profile by ID or username; /tweets, /likes, /followers, /following beneath itGET /v1/members — every current memberGET /v1/me — your key and its limits{data, next_cursor, request_id}. Page until next_cursor is null, not until a page is short.429 or 503, wait Retry-After seconds and retry.422 means the request was too broad for its query budget; narrow it, for example with a date range.limit.Find tweets by meaning rather than exact words. The service embeds your query with the corpus model (Qwen/Qwen3-Embedding-4B) and returns the nearest tweets by cosine similarity from the consent-filtered corpus, refreshed every ten minutes. No key is needed; each client gets 100 requests a minute. Results carry the tweet ID, so hydrate them through GET /v1/tweets?ids= above when you need counts, media, or the conversation.
curl -s -X POST https://embed.tweetstack.app/embeddings/search \
-H "Content-Type: application/json" \
-d '{
"searchTerm": "you can just do things",
"k": 10,
"threshold": 0.6,
"filter": {
"must": [
{ "key": "username", "match": { "value": "exgenesis" } },
{ "key": "created_at", "range": { "gte": "2025-01-01T00:00:00Z" } }
]
}
}'POST https://embed.tweetstack.app/embeddings/search with a JSON bodysearchTerm (text) or a 1,024-dimension vector from the same model, not bothk results (default 10, up to 1,000) above threshold similarity (default 0.65; lower it for broader results)filter with must, should, and must_not arrays of {key, match} or {key, range} conditionsGET /embeddings/stats for the current index size{success, results, count}; each result has key (the tweet ID), distance (similarity, higher is closer), and metadata with username, account ID, text, and created_at.username, account_id, or created_at for speed; a text substring filter runs after retrieval and can return fewer than k.429, wait for the X-RateLimit-Reset seconds and retry. A 400 with {success: false, error} means the body was invalid.The PostgREST API served by Supabase is retired on 19 November 2026 in favour of v1 above. It keeps working until then; follow the call-by-call migration guide to move. Send the public anon key in both the apikey and Authorization headers. The anon key is intentionally public; never use a service-role key in client code.
export CA_API_URL='https://fabxmporizzqflnftavs.supabase.co'
export CA_ANON_KEY='eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6ImZhYnhtcG9yaXp6cWZsbmZ0YXZzIiwicm9sZSI6ImFub24iLCJpYXQiOjE3MjIyNDQ5MTIsImV4cCI6MjAzNzgyMDkxMn0.UIEJiUNkLsW28tBHmG-RQDW-I5JNlJLt62CSk9D_qG8'
curl --get "$CA_API_URL/rest/v1/enriched_tweets" \
-H "apikey: $CA_ANON_KEY" \
-H "Authorization: Bearer $CA_ANON_KEY" \
--data-urlencode "select=tweet_id,username,created_at,full_text" \
--data-urlencode "username=ilike.defenderofbasic" \
--data-urlencode "order=created_at.desc" \
--data-urlencode "limit=5"import { createClient } from '@supabase/supabase-js'
const supabase = createClient(
'https://fabxmporizzqflnftavs.supabase.co',
process.env.CA_ANON_KEY,
)
const { data, error } = await supabase
.from('enriched_tweets')
.select('tweet_id, username, created_at, full_text')
.ilike('username', 'defenderofbasic')
.order('created_at', { ascending: false })
.limit(5)
if (error) throw error
console.log(data)enriched_tweets — joined tweet and account datatweets — core tweet recordsall_account — accounts and usernamesall_profile — bios and profile mediauser_directory — directory-ready account datailike when the original casing is unknown.select.order when paging through changing data.The repository contains schema guidance and complete examples.