{"partialResults":false,"resources":[{"accepts":[{"amount":"10000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"name":"USD Coin","version":"2"},"maxTimeoutSeconds":120,"network":"eip155:8453","payTo":"0x7c22D10a957c62044d03dB5C0086f500Fc645a26","scheme":"exact"}],"description":"OKF Index: search Brazilian federal laws by number/year or words (up to 20 items), paid per call","extensions":{"bazaar":{"info":{"input":{"method":"GET","queryParams":{"q":"10406/2002"},"type":"http"},"output":{"example":{"cobranca":{"preco_usd":"0.01","repetido":false,"via":"x402"},"items":[{"api":"https://okfindex.com/api/legislation/a17a3bb50858d650bcc1664a","authority":"congresso-nacional","country":"BR","description":"Institui o Código Civil.","downloaded_at":"2026-10-15","id":"a17a3bb50858d650bcc1664a","jurisdiction":"federal","lexml_url":"https://www.lexml.gov.br/urn/urn:lex:br:federal:lei:2002-01-10;10406","missing_text":false,"number":"10406","okf_url":"https://okfindex.com/api/legislation/a17a3bb50858d650bcc1664a/index.md","provider":"Normas.leg.br · Congresso Nacional","revoked":null,"sha256":"83ce1be21274960ea5ab8bdd11c03cddcaa679a1dbc1b7e59681b91ab3d446b8","source_url":"https://normas.leg.br/?urn=urn:lex:br:federal:lei:2002-01-10;10406","text_version":"compilada (declarada pela fonte)","title":"Lei nº 10.406, de 10 de janeiro de 2002","type":"leis-ordinarias","uf":null,"url":"https://okfindex.com/legislation/a17a3bb50858d650bcc1664a","year":2002}],"next":null},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"method":{"enum":["GET"],"type":"string"},"queryParams":{"properties":{"after":{"description":"Cursor from next. Do not generate a cursor.","type":"string"},"authority":{"description":"Issuing body declared by the source: congresso-nacional, presidencia-da-republica or unknown. The provider is separate.","type":"string"},"q":{"description":"Number/year, such as 10406/2002, or words. At most 160 characters. LGPD, CDC and Código Civil aliases are supported.","type":"string"},"type":{"description":"constituicao, leis-ordinarias, leis-complementares, leis-delegadas or decretos-lei.","type":"string"},"year":{"description":"Year, from 1800 to 2099.","type":"integer"}},"required":[],"type":"object"},"type":{"const":"http","type":"string"}},"required":["type","method","queryParams"],"type":"object"},"output":{"properties":{"example":{"description":"The result of one paid legislation search.","properties":{"cobranca":{"description":"How this call was paid.","properties":{"preco_usd":{"description":"The price charged for this call in US dollars, such as `0.01`: at least US$ 0.01 with single x402 payment; the unit price with credit.","type":"string"},"repetido":{"description":"`true` when the credit had already paid this request (the same `Idempotency-Key`): nothing was charged again.","type":"boolean"},"via":{"description":"`x402`, `credito` or the marketplace that already charged the call.","type":"string"}},"type":"object"},"items":{"description":"Up to 20 laws, as in `GET /api/legislation/search`: {id,title,description,type,year,number,authority,country,jurisdiction,uf,provider,source_url,lexml_url,downloaded_at,text_version,revoked,missing_text,sha256,api,url,okf_url}.","items":{"properties":{"api":{"type":"string"},"authority":{"type":"string"},"country":{"type":"string"},"description":{"type":"string"},"downloaded_at":{"type":"string"},"id":{"type":"string"},"jurisdiction":{"type":"string"},"lexml_url":{"type":"string"},"missing_text":{"type":"boolean"},"number":{"type":"string"},"okf_url":{"type":"string"},"provider":{"type":"string"},"revoked":{"type":"null"},"sha256":{"type":"string"},"source_url":{"type":"string"},"text_version":{"type":"string"},"title":{"type":"string"},"type":{"type":"string"},"uf":{"type":"null"},"url":{"type":"string"},"year":{"type":"number"}},"type":"object"},"type":"array"},"next":{"description":"URL of the next page on `GET /api/legislation/search` (with `after`); `null` at the end.","type":"null"}},"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"}},"payment-identifier":{"info":{"required":false},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"id":{"maxLength":128,"minLength":16,"pattern":"^[A-Za-z0-9_-]+$","type":"string"},"required":{"type":"boolean"}},"required":["required"],"type":"object"}}},"iconUrl":"https://res.cloudinary.com/bdb-prod/image/upload/c_fill,ar_1:1,w_256,h_256,f_auto,q_auto/v1792847598/bazaar-icons/d2801e21d68b7a03.png","lastUpdated":"2026-11-23T05:01:22.725Z","quality":{"l30DaysTotalCalls":5,"l30DaysUniquePayers":4,"lastCalledAt":"2026-11-23T05:01:22.085Z"},"resource":"https://okfindex.com/api/x402/legislation","serviceName":"OKF Index","tags":["knowledge","search","ai-agents"],"type":"http","x402Version":2}],"searchMethod":"text","x402Version":2,"meta":{"searchToken":"sx4kxztdligtgaa"}}
