{"x402Version":2,"pricing":{"perRequestUsd":0.01,"perRequestAtomic":10000,"note":"A turn is deducted from balance only on success (2xx)."},"topUp":{"floorUsd":0.01,"presetsUsd":[1,5,10,50],"custom":"Any amount at or above one turn's price is accepted - top up exactly what your wallet holds."},"resource":{"url":"https://api.kviria.com/v1/agent","description":"Resolve a user's natural-language place reference - \"the cafe near the bookstore\", \"my hotel\", \"here\" - into exactly one verified coordinate with an evidence trail. Coverage: the contiguous United States (beta). This payment tops up a prepaid USDC balance: any amount at or above one turn's price ($0.01); the first 50 turns per day are free with a wallet sign-in - see docs.kviria.com/api/agent.","mimeType":"application/json","serviceName":"Kviria","tags":["geocoding","agents","location","x402"],"iconUrl":"https://kviria.com/icon-192.png"},"accepts":[{"scheme":"exact","network":"eip155:8453","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","amount":"1000000","payTo":"0x91f44dfb04F2397ece4D3BFFdb37eC466a304E88","maxTimeoutSeconds":60,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:8453","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","amount":"5000000","payTo":"0x91f44dfb04F2397ece4D3BFFdb37eC466a304E88","maxTimeoutSeconds":60,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:8453","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","amount":"10000000","payTo":"0x91f44dfb04F2397ece4D3BFFdb37eC466a304E88","maxTimeoutSeconds":60,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:8453","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","amount":"50000000","payTo":"0x91f44dfb04F2397ece4D3BFFdb37eC466a304E88","maxTimeoutSeconds":60,"extra":{"name":"USD Coin","version":"2"}}],"extensions":{"bazaar":{"info":{"input":{"type":"http","method":"POST","bodyType":"json","body":{"transcript":"the cafe near the bookstore","anchor":{"lat":37.788,"lng":-122.4074}}},"output":{"type":"json","example":{"decision":"one","target":{"gers":"08f28308a8cb5d1a0390a5e1b5c6d7e8","name":"Example Cafe","category":"cafe","confidence":0.94,"location":{"lat":37.78823,"lng":-122.40698},"distanceM":46,"address":{"number":"120","street":"Example Street"},"baseDistanceM":18},"evidence":[{"test":"understanding","result":"pass","reasonCode":"near","detail":{"kinds":["cafe","coffee_shop"]}}],"state":"AXbU2v9QmZ3k8sJt0LrE4wHn7cYq1pKf6gNa5oTd"}}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"input":{"type":"object","properties":{"type":{"type":"string","const":"http"},"method":{"type":"string","enum":["POST","PUT","PATCH"]},"bodyType":{"type":"string","enum":["json","form-data","text"]},"body":{"type":"object","properties":{"transcript":{"type":"string","minLength":1,"maxLength":1000,"description":"The user's whole last turn, word for word: yes or no, corrections, hesitations and everything around the place included. Never shorten, rephrase, correct or complete it. If one turn arrived in pieces, join them in order."},"state":{"type":"string","maxLength":2263,"description":"The `state` field of the previous kviria response, copied character for character: that field only, never the whole response, and never shortened. Empty string on the first call."},"anchor":{"type":"object","description":"The user's current position - Kviria resolves relative to this point. Required on the first call of a conversation; later calls may leave it out while the user has not moved.","properties":{"lat":{"type":"number","minimum":-90,"maximum":90,"description":"WGS 84 latitude"},"lng":{"type":"number","minimum":-180,"maximum":180,"description":"WGS 84 longitude"}},"required":["lat","lng"],"additionalProperties":false},"rangeM":{"type":"integer","minimum":50,"maximum":350,"default":100,"description":"Search radius around the anchor in meters (clamped to 50-350)."},"confirmation":{"type":"string","enum":["on","off"],"default":"on","description":"\"on\" (default): a place the user named only in part is returned as one_unconfirmed, and its coordinate is released only after the user verifies it. \"off\": it is returned as one immediately, for agents without a human in the loop."}},"required":["transcript"],"additionalProperties":false}},"required":["type","method","bodyType","body"],"additionalProperties":false},"output":{"type":"object","properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"decision":{"type":"string","enum":["one","one_unconfirmed","many","none","unclear","not_a_place_request"]},"target":{"type":"object","properties":{"gers":{"type":"string"},"name":{"type":["string","null"]},"category":{"type":["string","null"]},"confidence":{"type":["number","null"],"minimum":0,"maximum":1},"location":{"type":"object","properties":{"lat":{"type":"number"},"lng":{"type":"number"}},"required":["lat","lng"]},"distanceM":{"type":"number","minimum":0},"address":{"type":"object","properties":{"number":{"type":["string","null"]},"street":{"type":"string"}},"required":["street"]},"intersection":{"type":"object","properties":{"streets":{"type":"array","items":{"type":"string"}}},"required":["streets"]},"acrossStreet":{"type":"string"},"baseDistanceM":{"type":"number"}},"required":["gers","name","category","confidence","distanceM"]},"candidates":{"type":"array","items":{"type":"object","properties":{"gers":{"type":"string"},"name":{"type":["string","null"]},"category":{"type":["string","null"]},"confidence":{"type":["number","null"],"minimum":0,"maximum":1},"location":{"type":"object","properties":{"lat":{"type":"number"},"lng":{"type":"number"}},"required":["lat","lng"]},"distanceM":{"type":"number","minimum":0},"address":{"type":"object","properties":{"number":{"type":["string","null"]},"street":{"type":"string"}},"required":["street"]},"intersection":{"type":"object","properties":{"streets":{"type":"array","items":{"type":"string"}}},"required":["streets"]},"acrossStreet":{"type":"string"},"baseDistanceM":{"type":"number"}},"required":["gers","name","category","confidence","distanceM"]}},"evidence":{"type":"array","items":{"type":"object","properties":{"test":{"type":"string"},"result":{"type":"string","enum":["pass","reject","warn"]},"reasonCode":{"type":"string"},"detail":{"type":"object"}},"required":["test","result","reasonCode"]}},"confirmed":{"type":"boolean"},"category":{"type":"string"},"state":{"type":"string"}},"required":["decision","evidence","state"]}},"required":["type"]}},"required":["input"]}}}}