AI Integration Quickstart

This guide summarizes the machine-friendly endpoints, formats, and headers exposed by MainStreet.Club for LLM crawlers and retrieval systems.

Core Feeds

Endpoint Format Features
/api/v1/feeds/index NDJSON Supports ?since=, ETag, gzip, CORS
/api/v1/feeds/businesses NDJSON or JSON Cursors, incremental sync, gzip, Last-Modified
/api/v1/feeds/catalog NDJSON Bulk export, gzip
/ai-index.jsonl NDJSON Incremental sync, conditional GET

Discovery Links

Transport & Headers

Verification Signals

Each entity bundles normalized verification metadata sourced from our VerificationMetadataService, including:

Item Fields

Business feed records expose a stable schema so retrievers and validators can map attributes quickly.

Field Type Notes
id string (UUID) Stable business identifier; use with ?cursor= for pagination.
name string Display-ready business name, escaped UTF-8.
url string (absolute URL) Canonical landing page. Always HTTPS.
primary_category/category string Normalized taxonomy slug, e.g. home-services.
city, province, country strings Location context for filtering or geo weighting.
verification object Trust payload with isVerified, level, lastVerifiedOn, and confidence.
products array Top promoted listings per business when include_products=true.
feed_timestamp ISO 8601 Combined value used for ordering and cursoring.

Pagination & Cursors

Freshness & Conditional Requests

Operational Ping

Use /api/v1/ping for a lightweight capability check. It returns current versions, enabled compression, and important documentation links.

Contact & Rate Limits

Email [email protected] for higher rate limits or integration questions.