{"api": "DataAlchemy parts search", "version": "1.3", "corpus": {"docs": 122781286, "unit": "one doc per (manufacturer, part number) page"}, "endpoints": {"GET /api/": "this description", "GET /api/search": {"params": {"q": "free text: part number, brand, or both. Punctuation in part numbers is ignored.", "mpn": "structured filter: exact part number (punctuation-insensitive). Overrides q matching.", "man": "structured filter: manufacturer name substring filter, can combine with q or mpn.", "rows": "max results to return, default 20, max 200", "offset": "result offset for continuation, default 0", "facets": "1 (default) to include manufacturer facet counts, 0 to omit", "semantic": "auto (default): add embedding-based neighbors when no exact part match; 1: always add them; 0: lexical only. Semantic hits carry match=semantic and a similarity score - they are conceptually related parts, not part-number matches."}, "response": {"query.interpreted": "how the engine parsed your input; check this before trusting results", "results[].match": "why the hit matched: exact_mpn | exact_combo | prefix_mpn | text", "exact_match": "true if at least one exact_mpn/exact_combo hit exists", "nearest": "ONLY present when zero results: closest prefix neighbors, NOT matches", "facets.man": "manufacturer -> count over the full match set, for query refinement"}}, "POST /api/search/batch": {"body": "{\"queries\": [\"pn1\", \"pn2\", ...]} up to 500 entries", "response": "{\"answers\": [{query, exact_match, top: {man, mpn, url} | null}]}", "note": "built for agents holding lists; one round trip instead of N"}}, "mcp": {"endpoint": "POST /mcp", "transport": "Streamable HTTP (stateless, plain JSON responses)", "note": "MCP clients: claude mcp add --transport http dataalchemy https://www.dataalchemy.com/mcp"}, "matching": "part numbers are lowercased and stripped of non-alphanumerics on both sides", "limits": {"max_rows": 200, "max_batch": 500, "note": "be gentle; this is one box. No auth yet; abusive rates get blocked at the edge."}}