Proof of Location API

The Trusted Location API currently provides only one endpoint, more will be added in the future.

Proof of location in a circular geo-fence

API documentation

post
https://geo.w3bstream.com/api
/pol
Proves the presence within a certain distance from a specific GPS location at a certain time.

Mainnet

Mainnet applications can use the mainnet verifier contract to validate proofs of location obtained from this endpoint:
https://geo.w3bstream.com/api/pol

Testnet

Testnet applications can use the testnet verifier contract to validate proofs of location obtained from this endpoint:
https://geo-test.w3bstream.com/api/pol
Please notice that the testnet API endpoint generates proofs based on location data that is not "trusted" (i.e., test locations data generated by a script for development and test purposes). Therefore, any attempt to validate those proofs on the mainnet validator contract will fail.
Make sure you query the mainnet API for proofs of location that are supposed to be used in production.