api.header.title

api.header.home / api.header.api

api.header.subtitle

api.header.desc

api.methods.newProof.title

api.methods.descLabel

api.methods.newProof.desc

api.methods.post

https://notary-api.bitcoin.com/api/v1/proofs

api.methods.exampleCurl

curl -X POST "https://notary-api.bitcoin.com/api/v1/proofs" -d "3f772cc2096a317100504d7958ab4c5467729f49205f7ca8bcac703807f71e27"

api.methods.example

const hash = '3f772cc2096a317100504d7958ab4c5467729f49205f7ca8bcac703807f71e27'
fetch('https://notary-api.bitcoin.com/api/v1/proofs', {
  method: 'POST',
  body: hash,
})
  .then(response => response.json())
  .then(
    response => {
      console.log(response);
    },
    err => {
      console.log(err);
    },
  );

  /* Successful response from notary.bitcoin.com
      {
        "status": "ok",
        "url": "https://notary.bitcoin.com/proof/?hash=3f772cc2096a317100504d7958ab4c5467729f49205f7ca8bcac703807f71e27",
        "address": "bitcoincash:qqxzcazdwqgsl6ja8yrcly3kwxmvuyp0xgazj8henh",
        "price": 5000,
        "anchored": false,
      }
  */

api.methods.proofStatus.title

api.methods.descLabel

api.methods.proofStatus.desc

api.methods.get

https://notary-api.bitcoin.com/api/v1/proofs/<sha256hash>

api.methods.exampleCurl

curl "https://notary-api.bitcoin.com/api/v1/proofs/3f772cc2096a317100504d7958ab4c5467729f49205f7ca8bcac703807f71e27"

api.methods.example

const hash = '3f772cc2096a317100504d7958ab4c5467729f49205f7ca8bcac703807f71e27'
fetch(https://notary-api.bitcoin.com/api/v1/proofs/${hash})
.then(response => response.json())
.then(
  response => {
    console.log(response);
  }
  err => {
    console.log(err)
  }
)

/* Sample successful response from notary.bitcoin.com
{
  "status": "ok",
  "data": {
    "id": 3,
    "hash": "3f772cc2096a317100504d7958ab4c5467729f49205f7ca8bcac703807f71e27",
    "address": "127NN3Q4QHLqVMeTMeefCVVNdie3whcbpq",
    "price": 5000,
    "stamp": 1585179532,
    "bcast": null,
    "anchor": [],
    "funds": [],
    "state": "unpaid",
    "balance": 5000
  }
}
*/