Crypto Stamp

Stamps today: 15
Secured stamps: 18702
Unique visitors: 9813
Home Technical Details .csp File Format Mobile App Developer API Donate

How to use Crypto Stamp as a service in your application?

I created an API for developers to integrate Crypto Stamp with their application. The Mobile App for Crypto Stamp is one such example which I have implemented. The application takes photos on phones and submits their hashes to this Crypto Stamp website.

You need to make an HTTP GET request to the URL http://cryptostamp.net/query.php with the argument hashes that contains hashes in a JSON encoded list which looks like:
http://cryptostamp.net/query.php?hashes=["(hash 1 value)", "(hash 2 value)", ... ]

This query command will both submit and query the hashes. If a hash has never been submitted, the hash is submitted and information is returned about the hash. If the hash has been submitted before, information is returned about the hash. So, this command alone should be sufficient to use Crypto Stamp in your own projects.

Here is an example, which you can try to visit:
http://cryptostamp.net/query.php?hashes=["eb9e6558149e2f06ea12bfe25613d5712afe3a800cc59645f861ab5a8aee3bfa", "b0f7ccdf6ea45e11eb2577cbe85f0aae453986cbdb400dcb7915f7cf3f0ca36c"]

The response to that example is a JSON encoded response. Each outer map in the response will map the queried hash to results for that hash. The results for that hash are a map of properties for the hash to values for those properties, some are missing for hashes not secured yet:

See csp file format for details and example code for how to check a stamp in a decentralized manner.

Contact: admin@cryptostamp.net
© 2013 Crypto Stamp