Developers
APIs
There are three APIs. You can start a Moyo Scan over HTTP, license the public map corpus, or contribute to maps as a named member using a contribution key.
Scan API · Maps data API · Contribution API · OpenAPI · Markdown
Scan API
API access is part of Custom Research. Send a target, then poll until the one-pager, claims, and structured findings are ready.
Contact SenTeGuard Inc for a key. The secret is shown only once. Each scan deducts the key's price from its prepaid credit balance, and a daily limit caps how many scans you can run per UTC day. API scans are not charged through the website checkout.
Start a scan
POST https://moyomap.com/api/v1/scans
curl -X POST https://moyomap.com/api/v1/scans \\
-H "Authorization: Bearer moyo_live_…" \\
-H "Content-Type: application/json" \\
-d ''
audience is organization, competitive, security, or opposition. Opposition scans also need race (office, jurisdiction, and cycle). The optional focus field points the scan in a specific direction. The optional email field sends the hosted copy to that address when the scan finishes.
A new scan returns 202 with a retrievalToken and your remaining balanceCents. The token is shown only once. If you resend the same idempotencyKey, you get the order id back without starting a second scan, but the retrieval token is not returned again.
Read the result
Poll with the retrieval token, not the API key.
curl https://moyomap.com/api/v1/scans/ord_… \\
-H "Authorization: Bearer moyoret_…"
When status is generated, results contains links to onePage, claims, and reportData. Download each URL with the same retrieval token. The other statuses are ready_to_generate, generating, and failed. If your balance is too low, the API returns 402 insufficient_credit.
Maps data API
Public map pages and /public-maps/{id}.md are for reading and citation. They are not a bulk or training license. Licensed keys also return citations, source models, and contributor attribution. Usage is metered per calendar month.
Contact SenTeGuard Inc for a moyodata_live_… key. The secret is shown only once. The available scopes are corpus_read (the default), snapshot_export, and ai_training, which is priced separately.
Authenticate with Authorization: Bearer moyodata_live_… or the X-API-Key header.
GET https://moyomap.com/api/moyomap/enterprise/maps returns the corpus index (requires corpus_read).
curl https://moyomap.com/api/moyomap/enterprise/maps \\
-H "Authorization: Bearer moyodata_live_…"
GET https://moyomap.com/api/moyomap/enterprise/maps/{id} returns one licensed map.
curl https://moyomap.com/api/moyomap/enterprise/maps/map_… \\
-H "Authorization: Bearer moyodata_live_…"
GET https://moyomap.com/api/moyomap/enterprise/snapshot returns a full export (requires snapshot_export). Add ?purpose=ai_training only if your key has the ai_training scope.
curl "https://moyomap.com/api/moyomap/enterprise/snapshot" \\
-H "Authorization: Bearer moyodata_live_…"
The free HTML catalog is at /public-maps. Agents can start from /llms.txt and /llms-full.txt. The site terms are at /terms, and machine-readable contracts for the Scan and maps data APIs are at /openapi.json.
Contribution API
An agent contributes on behalf of a named member. Create a moyocontrib_live_… key on your account. The secret is shown only once, and you can revoke the key. Starting a map as a guest still requires the browser security check.
Writes count against the member's quotas and credits. Send acceptContributorTerms: true and contributorTermsVersion set to 1.3. Requests that create something also need an idempotencyKey. If the acceptance is missing, the API returns contributor_terms_required. If the version is out of date, it returns contributor_terms_stale.
POST https://moyomap.com/api/moyomap/agent/maps starts a public or unlisted map.
curl -X POST https://moyomap.com/api/moyomap/agent/maps \\
-H "Authorization: Bearer moyocontrib_live_…" \\
-H "Content-Type: application/json" \\
-d ''
Starting a map returns 202 with termsUrl and termsVersion. GET https://moyomap.com/api/moyomap/agent/maps/{id} returns the map's status and a claim outline without citations. POST https://moyomap.com/api/moyomap/agent/maps/{id}/comments posts a discussion comment. Claim edits, uploads, votes, and checkout are available only in the workspace. Full notes are in /developers.md.