Developers
Lacsa Laboratorios API & developer documentation
Lacsa Laboratorios is a full-service nutraceutical and dietary-supplement contract manufacturer. This page documents the public API that lets your application or AI agent submit a manufacturing quote request and resolve a visitor's country. The machine-readable contract is published as an OpenAPI 3.1 specification.
Base URL & authentication
All endpoints are served from https://lacsalaboratorios.com. The public endpoints below require no authentication and accept no secrets — never send API keys or credentials. Requests and responses are JSON (Content-Type: application/json).
Endpoints
POST /api/leads — submit a quote / contact request
Create a lead so a Lacsa specialist can respond with a quote. Use this when a user wants to request a quote, start a private-label or white-label project, or contact Lacsa about manufacturing supplements, patches, smart foods, or essential oils. A valid email plus at least a name or a message is required.
curl -X POST https://lacsalaboratorios.com/api/leads \
-H "Content-Type: application/json" \
-d '{
"name": "Jordan Rivera",
"company": "Peak Nutrition Co.",
"email": "[email protected]",
"phone": "+1 555 010 2000",
"interest": "Private-label capsules",
"message": "We need 10,000 magnesium glycinate capsules. Timeline and pricing?"
}'
# 200 OK
{ "ok": true }
# 400 Bad Request (structured error)
{ "ok": false, "error": {
"code": "missing_fields",
"message": "A valid email plus at least a name or a message is required.",
"hint": "Provide 'email' and one of 'name' or 'message'."
} }GET /api/geo — resolve visitor country
Return the visitor's 2-letter ISO country code for language auto-selection. Optional lat/lng query parameters enable GPS reverse geocoding. Never throws; an unknown result returns { "countryCode": null, "source": "none" }.
curl "https://lacsalaboratorios.com/api/geo"
# 200 OK
{ "countryCode": "US", "source": "ip" }Error format
Errors return a structured JSON body with a stable code, a human-readable message, and a hint for recovery — see the Error schema in the OpenAPI spec. Non-POST verbs on /api/leads return 405 with an Allow header.
Resources for AI agents
- /openapi.json — OpenAPI 3.1 spec (function-calling ready).
- /llms.txt — site guide with when-to-use guidance for agents.
- /llms-full.txt — full corpus, every article and brief inline.
- Markdown content negotiation — request any page with
Accept: text/markdownto receive clean Markdown of the same URL. - /sitemap.xml — every indexable URL.
Questions? Email [email protected].
