Idempotency is required
Writes require an Idempotency-Key. The same key with the same input returns the same scan; reusing it with different input returns 409.
API REFERENCE
Bearer authentication with a project-scoped key, a required idempotency key on writes, and a pinned response contract. The full machine-readable document is published as OpenAPI.
ENDPOINTS
Submits a public product URL and returns either a ready founder-reviewed move or an accepted job you poll. Reuse is idempotent: the same Idempotency-Key with the same input returns the same scan.
REQUIRED HEADERS
curl -X POST "https://trendsfast.com/v1/next-move" \
-H "Authorization: Bearer $TRENDSFAST_API_KEY" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{"product_url":"https://yourproduct.com",
"objective":"Grow among technical founders",
"generation_level":"brief"}'RESPONSES
REQUEST BODY
| Field | Type | Required | Note |
|---|---|---|---|
| product_url | string (url) | REQUIRED | A public product page. |
| objective | string | OPTIONAL | What you are trying to grow. |
| preferred_channels | string[] | OPTIONAL | Channels you can use. |
| content_capabilities | string[] | OPTIONAL | Formats you can credibly make. |
| generation_level | enum | OPTIONAL | How much drafting the move carries. |
OPERATING RULES
Writes require an Idempotency-Key. The same key with the same input returns the same scan; reusing it with different input returns 409.
A 202 gives you a scan you can poll with GET /v1/next-moves/{id}. Polling does not consume a research run.
A scan is visible only to the key that created it. Results are never published, and public sharing is a separate opt-in after delivery.