{"uid":"cap_wvByankqUxno4d7mNqgp1","slug":"maxwell-x402-canadian-federal-legislation-lookup-bc922859","name":"Maxwell x402 — Canadian Federal Legislation Lookup","description":"One Canadian federal act from the Justice Laws consolidated statutes, by code (e.g. C-46): English and French titles, in-force status, last amended and current-to dates, and optionally its section text.","url":"https://api.maxwellinternational.ai/v1/gov/ca/legislation?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"headers":{"type":"object","additionalProperties":{"type":"string"}},"queryParams":{"type":"object","additionalProperties":{"type":"string"}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"ok":true,"code":"C-46","country":"Canada","inForce":true,"pitDate":"2026-07-18","titleEn":"Criminal Code","titleFr":"Code criminel","skuFamily":"gov.ca.legislation","lastAmended":"2026-07-18","longTitleEn":"An Act respecting the Criminal Law","currentToDate":"2026-09-21","consolidatedNumber":"C-46"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_KbJDdJK9EBPvpgE1A_8pa","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns metadata and optionally full section text for a single Canadian federal act from the Justice Laws consolidated statutes, identified by its act code.","exampleAgentPrompt":"Can you look up the Canadian federal act with code C-46 and tell me its official English and French titles, whether it's currently in force, and when it was last amended?","exampleUseCases":[{"title":"Verify Criminal Code in-force status","prompt":"Is the Canadian Criminal Code currently in force? Look it up by its act code C-46 and tell me its official titles and when it was last amended."},{"title":"Research Income Tax Act details","prompt":"Fetch the details for Canada's Income Tax Act — I need its English and French titles, whether it's still in force, and the most recent amendment date."},{"title":"Legal compliance check for a statute","prompt":"I need to verify the current-to date and in-force status of Canadian federal act R-5.8 for a compliance review — can you pull that from the consolidated statutes?"}],"resultDescription":"A JSON object with the act code, country (Canada), English title, French title, in-force boolean, last amended date, current-to date, consolidated number, SKU family, and optionally full section text of the act.","failureModes":["Invalid or unknown act code returns an error or empty result","Act code not present in Justice Laws consolidated statutes yields no match","Malformed query parameters cause a 400-level error","Network or payment (x402) failure prevents response","Act codes that are province-level or non-federal are not covered"],"whenToPreferThis":"Use this endpoint when you need structured metadata about a specific Canadian federal statute and already know its act code. It is ideal for legal research tools, compliance checks, and bilingual (English/French) legal data needs. Prefer this over a general web search when you need machine-readable, authoritative data including in-force status and amendment dates from the official consolidated statutes.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T18:48:12.118Z","isFirstParty":false,"canonicalSlug":"maxwell-x402-canadian-federal-legislation-lookup-bc922859"}