{"uid":"cap_Ghs7JZMwNbHkzcwa7dETA","slug":"amalgam-german-law-hybrid-search-0752d4aa","name":"Amalgam German Law Hybrid Search","description":"Pose detection and German law and court decision search APIs. All endpoints require an x402 payment via the `PAYMENT-SIGNATURE` header. See `/.well-known/x402` for the payment capability manifest.","url":"https://amalgam.cc/api/lawsearch/search?utm_source=zero.xyz","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 and decision corpora with, e.g. 'Haftung des Verkäufers für Sachmängel'."},"source":{"enum":["law","decision","both"],"type":"string","description":"Corpus to search: `law` (Gesetze), `decision` (Rechtsprechung), or `both` to fuse results across both corpora (default `both`)."}}},"responseSchema":{"type":"json","example":{"results":[{"law":{"title":"Bürgerliches Gesetzbuch","absatz":"1","paragraph":"433","abbreviation":"BGB"},"kind":"law","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"},{"kind":"decision","text":"Dem Verkäufer steht ein Anspruch auf Nacherfüllung nach § 439 BGB zu, wenn die verkaufte Sache einen Sachmangel aufweist...","score":0.87,"decision":{"rd":"20","doknr":"BGHXZR2220","doktyp":"Urteil","gerort":"Bundesgerichtshof","gertyp":"BGH","section":"22/20","aktenzeichen":"X ZR 22/20","entsch_datum":"2020-12-22","spruchkoerper":"10. Zivilsenat"},"distance":0.38,"full_reference":"BGH, Urteil vom 22.12.2020 – X ZR 22/20"}]}},"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-10-31T00:33:13.356Z","isFirstParty":false,"canonicalSlug":"amalgam-german-law-hybrid-search-0752d4aa"}