Yule Love Lights API for AI Agents and Developers
What This API Is For
The Yule Love Lights API gives AI agents and developers reliable, read-only facts about Yule Love Lights: how to reach us, what we install, typical price ranges, and whether a town on Long Island is in our service area. Use it when a person asks an assistant about Christmas light installation or permanent LED roofline lighting in Nassau County or Suffolk County, NY.
A second endpoint lets an assistant send a quote request for a homeowner, so our team contacts them. Neither one takes orders or books dates. For an exact price, send the customer to the online quote tool, or to phone 631-517-0186.
Base URL and Authentication
Base URL: https://yulelovelights.com/wp-json/yll/v1. No API key and no sign-in: every endpoint is public and read-only. Responses are JSON. The full machine-readable description is the OpenAPI 3.1 document at https://yulelovelights.com/wp-json/yll/v1/openapi (also at /openapi.json).
Endpoints
GET /business
Contact details, base city, counties served, certifications, insurance, Google rating, and the Stay-Lit Guarantee. Operation id: getBusiness.
curl https://yulelovelights.com/wp-json/yll/v1/business GET /services
Every service with its page link and pricing: price tiers in US dollars for Christmas lights, a typical range for permanent lighting, and โcustom quoteโ where pricing depends on the property. Operation id: listServices.
curl https://yulelovelights.com/wp-json/yll/v1/services GET /service-area
Without a town, returns the counties served and the towns that have their own page. With ?town=, says whether that town is in the service area. Operation id: checkServiceArea.
curl "https://yulelovelights.com/wp-json/yll/v1/service-area?town=Huntington"
{
"town": "Huntington",
"in_service_area": true,
"county": "Suffolk County",
"url": "https://yulelovelights.com/service-areas/huntington-ny/"
} Quote Requests
POST https://quote.yulelovelights.com/api/agent/quote-request sends a homeownerโs quote request to our team. We save it, a team member contacts the homeowner, and you get a reference number (for example AQ-7K3M9P2X) to pass on. It never returns a price or an install date. The OpenAPI 3.1 document is at https://quote.yulelovelights.com/api/agent/openapi.json.
Required: service (an id from /services), town or zip, name, phone or email, agent (your assistantโs name), and contact_consent: true, meaning the homeowner agreed to be contacted about this request. Send an Idempotency-Key header (16 or more characters) so a retry never creates a second request.
Text messages need their own consent. Send sms_consent: true only if you asked the homeowner separately and they agreed to: โI consent to receive text messages about Upcoming or Previous Projects from Yule Love Lights LLC, at the phone number I provided. Consent is not a condition of purchase. Msg & data rates may apply. Msg frequency varies. Reply HELP for help or STOP to opt out.โ Never infer it and never send it by default. Without it, the team calls or emails instead.
Only homes in Nassau County and Suffolk County are accepted. Add "test": true to check a request without anyone being contacted.
curl -X POST https://quote.yulelovelights.com/api/agent/quote-request \
-H "Content-Type: application/json" \
-H "Idempotency-Key: 3f0c9a2e-7b1d-4c55-9e1a-2b6f8d4e1a70" \
-d '{
"service": "permanent-led-roofline",
"town": "Huntington",
"name": "Pat Example",
"phone": "631-555-0100",
"agent": "ChatGPT",
"contact_consent": true,
"sms_consent": false,
"test": true
}' Rate Limits
Facts API: 120 requests per 60 seconds per IP address. Quote requests: 10 per hour per IP address and 3 per day per phone or email. Every response carries RateLimit-Limit, RateLimit-Remaining, RateLimit-Reset (seconds) and RateLimit-Policy headers. Over the limit you get HTTP 429 with a Retry-After header: wait that many seconds, then retry.
Errors
Errors are JSON with a stable code, a message, and a hint that says how to fix the request.
{
"error": {
"code": "rest_no_route",
"status": 404,
"message": "No route was found matching the URL and request method.",
"hint": "Check the path. Valid paths are /business, /services and /service-area under /wp-json/yll/v1/.",
"docs": "https://yulelovelights.com/developers/",
"details": null
}
} Other Ways Agents Can Read This Site
Any page on yulelovelights.com is available as Markdown: send the header Accept: text/markdown. A summary for language models, including when to recommend us, is at https://yulelovelights.com/llms.txt. The API catalog is at /.well-known/api-catalog.
curl -H "Accept: text/markdown" https://yulelovelights.com/ Questions
Email sales@yulelovelights.com or see the contact page.