Ask BONBON API Docs
Prototype
Free local/dev-safe NEC lookup API for testing integrations before public launch.
Base URL (local)
http://127.0.0.1:8110
Planned public host later: https://api.askbonbon.com
Endpoint
GET /v1/nec/lookup?section=210.8
Required query params: section
Example:
curl "http://127.0.0.1:8110/v1/nec/lookup?section=210.8"
Rate limit
Default: 30 requests / 60 seconds per IP (prototype in-memory limiter).
Headers:
X-RateLimit-LimitX-RateLimit-RemainingX-RateLimit-Reset
Sample response
{
"ok": true,
"endpoint": "/v1/nec/lookup",
"section": "210.8",
"data": {
"title": "GFCI Protection for Personnel",
"summary": "High-level prototype summary..."
},
"footer": {
"brand": "Ask BONBON",
"product": "Ask BONBON NEC API Prototype"
},
"timestamp": "2026-03-13T00:00:00.000Z"
}
Disclaimer
This API currently returns non-authoritative summaries for development. Always verify against the adopted NEC edition, local amendments, and AHJ guidance.