API
API Documentation
Every AnswerStack record is available as a machine-readable JSON-LD payload. No authentication required. All endpoints return schema.org-compliant structured data.
Q&A records
-
GET /api/questions/:id
Returns a single Q&A record with full source metadata, citations, and structured data.
-
GET /api/questions/search?q=:query
Search across all Q&A records by keyword.
-
GET /api/questions/service/:serviceSlug
Returns all Q&A records for a specific service category.
-
GET /api/services
Returns all service categories with question counts, grouped by industry.
Entity records
-
GET /api/entities/:id
Returns a single entity record with full JSON-LD payload including structured facts, disambiguation, relationships, and corroboration.
-
GET /api/entities
Returns all entity records.
Response format
All responses are JSON. Entity records include @context and @type declarations for direct use as JSON-LD. Q&A records include the full source metadata required to build schema.org Question/Answer markup.
No authentication, API keys, or rate limiting is applied. Endpoints are designed for direct consumption by LLM crawlers, RAG pipelines, and search indexers.
Embedding JSON-LD
The JSON-LD payload for any record can be embedded directly into an HTML page:
<script type="application/ld+json">
// paste the API response here
</script>