{"uid":"cap_Ghs7JZMwNbHkzcwa7dETA","slug":"amalgam-german-law-hybrid-search-0752d4aa","name":"Amalgam German Law Hybrid Search","description":"Hybrid semantic + keyword search over the embedded German law corpus from https://www.gesetze-im-internet.de/(Gesetze). Submit a natural-language `query` in a JSON body (`{\"query\": \"...\"}`) and receive the most relevant law chunks fused from vector and full-text retrieval, ranked by score. Returns JSON results with full legal reference, and matched text.The database has been tested against GerLeRB as golden dataset","url":"https://amalgam.cc/api/lawsearch/search","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"limit":{"type":"integer","maximum":50,"minimum":1,"description":"Maximum number of results to return (default 5)"},"query":{"type":"string","description":"Natural-language query to search the law corpus with, e.g. 'Haftung des Verkäufers für Sachmängel'."}}},"responseSchema":{"type":"json","example":{"results":[{"law":{"title":"Bürgerliches Gesetzbuch","absatz":"1","paragraph":"433","abbreviation":"BGB"},"text":"Der Verkäufer einer Sache hat dem Käufer die Sache zu übergeben und das Eigentum an der Sache zu verschaffen...","score":0.83,"distance":0.42,"full_reference":"§ 433 BGB Abs. 1"}]}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.05","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.05/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_kbDZOfLt2Xv2TGN92S6_7","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.05","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Performs hybrid semantic and keyword search over the embedded German federal law corpus (gesetze-im-internet.de), returning ranked law chunks with full legal references and matched text.","exampleAgentPrompt":"Search the German law database for the most relevant statutes on 'Haftung des Verkäufers für Sachmängel' — seller liability for defects — and give me the top 5 results with their legal references and matched text.","exampleUseCases":[{"title":"Contract defect liability research","prompt":"Can you search German law for anything related to 'Rücktritt vom Kaufvertrag wegen Mängeln' — withdrawal from a purchase contract due to defects — and show me the top 3 most relevant legal paragraphs with their official references?"},{"title":"Tenant eviction rights lookup","prompt":"I need to know what German law says about 'Kündigung des Mietverhältnisses durch den Vermieter' — landlord termination of a rental agreement. Search the German federal law corpus and return the top 5 relevant passages."},{"title":"Data privacy compliance check","prompt":"Look up German law on 'Datenschutz und Einwilligung' — data protection and consent — and retrieve up to 10 relevant law sections with their references so I can check compliance requirements."}],"resultDescription":"A ranked JSON array of law chunks, each containing the full legal reference (e.g. paragraph and law name from gesetze-im-internet.de), the matched text excerpt, and a relevance score derived from the hybrid vector + full-text retrieval fusion.","failureModes":["Empty or vague query returning low-relevance results","Query in a language other than German may yield poor matches since corpus is German","Requesting more than 50 results returns an error (maximum limit is 50)","Network timeout or service unavailability returning HTTP 5xx","Query too broad returning only superficially related statutes"],"whenToPreferThis":"Choose this endpoint when you need to search German federal law text with both semantic understanding and keyword precision — especially when the user asks a natural-language legal question in German or about German law, and you need specific statutory passages with official references. Prefer this over generic web search when you need structured, ranked legal excerpts directly from the gesetze-im-internet.de corpus rather than general web commentary.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:38:08.785Z","isFirstParty":false}