{"openapi":"3.1.0","info":{"title":"Apizie","version":"2.0.0","description":"One API key, one envelope, many public data sources."},"servers":[{"url":"https://zieapi.vercel.app"}],"security":[{"ApiKeyAuth":[]}],"paths":{"/v1/finance:tokenjay/get-age-usd-info":{"get":{"operationId":"finance_tokenjay_get_age_usd_info","summary":"Returns state of AgeUSD at this moment","description":"GET /ageusd/info","tags":["finance"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"live"}},"/v1/finance:tokenjay/ergo-pay-create-babel-box-1":{"get":{"operationId":"finance_tokenjay_ergo_pay_create_babel_box_1","summary":"GET /cancelbabel/{boxId}","description":"GET /cancelbabel/{boxId}","tags":["finance"],"parameters":[{"name":"boxId","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"live"}},"/v1/finance:tokenjay/ergo-pay-create-babel-box":{"get":{"operationId":"finance_tokenjay_ergo_pay_create_babel_box","summary":"GET /createbabel/{address}","description":"GET /createbabel/{address}","tags":["finance"],"parameters":[{"name":"address","in":"query","required":true,"schema":{"type":"string"}},{"name":"tokenId","in":"query","required":true,"schema":{"type":"string"}},{"name":"ergAmount","in":"query","required":true,"schema":{"type":"integer"}},{"name":"tokenAmount","in":"query","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"live"}},"/v1/finance:tokenjay/get-babel-fee-overview":{"get":{"operationId":"finance_tokenjay_get_babel_fee_overview","summary":"GET /mosaik/babelfee/","description":"GET /mosaik/babelfee/","tags":["finance"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"live"}},"/v1/finance:tokenjay/get-babel-fee-new-offer":{"get":{"operationId":"finance_tokenjay_get_babel_fee_new_offer","summary":"GET /mosaik/babelfee/newoffer","description":"GET /mosaik/babelfee/newoffer","tags":["finance"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"live"}},"/v1/finance:tokenjay/do-create-babel-box":{"post":{"operationId":"finance_tokenjay_do_create_babel_box","summary":"POST /mosaik/babelfee/newoffer/doit","description":"POST /mosaik/babelfee/newoffer/doit","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["body"],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"live"}},"/v1/finance:tokenjay/replace-token-amount-input-fields":{"post":{"operationId":"finance_tokenjay_replace_token_amount_input_fields","summary":"POST /mosaik/babelfee/newoffer/new-input","description":"POST /mosaik/babelfee/newoffer/new-input","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["body"],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"live"}},"/v1/finance:tokenjay/check-for-notifications":{"get":{"operationId":"finance_tokenjay_check_for_notifications","summary":"GET /mosaik/babelfee/notificationcheck","description":"GET /mosaik/babelfee/notificationcheck","tags":["finance"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"live"}},"/v1/finance:tokenjay/main-app-1":{"get":{"operationId":"finance_tokenjay_main_app_1","summary":"GET /mosaik/boxconsolidation/","description":"GET /mosaik/boxconsolidation/","tags":["finance"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"live"}},"/v1/finance:tokenjay/ep-consolidate":{"get":{"operationId":"finance_tokenjay_ep_consolidate","summary":"GET /mosaik/boxconsolidation/consolidate/{p2pkaddress}","description":"GET /mosaik/boxconsolidation/consolidate/{p2pkaddress}","tags":["finance"],"parameters":[{"name":"p2pkaddress","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"live"}},"/v1/finance:tokenjay/main-app":{"get":{"operationId":"finance_tokenjay_main_app","summary":"GET /mosaik/tokenburn","description":"GET /mosaik/tokenburn","tags":["finance"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"live"}},"/v1/finance:tokenjay/get-burning-transaction":{"get":{"operationId":"finance_tokenjay_get_burning_transaction","summary":"GET /mosaik/tokenburn/get/{uuid}","description":"GET /mosaik/tokenburn/get/{uuid}","tags":["finance"],"parameters":[{"name":"uuid","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"live"}},"/v1/finance:tokenjay/prepare-transaction":{"post":{"operationId":"finance_tokenjay_prepare_transaction","summary":"POST /mosaik/tokenburn/prepare","description":"POST /mosaik/tokenburn/prepare","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["body"],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"live"}},"/v1/finance:tokenjay/add-payment-request":{"post":{"operationId":"finance_tokenjay_add_payment_request","summary":"Creates a new payment request. Will return request id to check for transaction state and ergopay url to show…","description":"POST /payment/addrequest","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["body"],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"live"}},"/v1/finance:tokenjay/get-payment-state":{"get":{"operationId":"finance_tokenjay_get_payment_state","summary":"Returns the state of a payment request. Please note that payment requests are purged after some time, so…","description":"GET /payment/state/{requestId}","tags":["finance"],"parameters":[{"name":"requestId","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"live"}},"/v1/finance:tokenjay/get-peers-list":{"get":{"operationId":"finance_tokenjay_get_peers_list","summary":"Lists known peers sorted by block height","description":"GET /peers/list","tags":["finance"],"parameters":[{"name":"unreachable","in":"query","required":false,"description":"Set to true to show unreachable peers in the list","schema":{"type":"boolean","default":false,"description":"Set to true to show unreachable peers in the list"}},{"name":"closedApi","in":"query","required":false,"description":"Set to true to show peers not open to be connected","schema":{"type":"boolean","default":false,"description":"Set to true to show peers not open to be connected"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":50}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"live"}},"/v1/finance:tokenjay/do-sigma-rsv-exchange":{"get":{"operationId":"finance_tokenjay_do_sigma_rsv_exchange","summary":"Builds ErgoPayRequest for SigRSV exchange","description":"GET /sigrsv/exchange/","tags":["finance"],"parameters":[{"name":"amount","in":"query","required":true,"schema":{"type":"integer"}},{"name":"address","in":"query","required":true,"schema":{"type":"string"}},{"name":"checkRate","in":"query","required":false,"schema":{"type":"integer","default":0}},{"name":"executionFee","in":"query","required":false,"schema":{"type":"integer","default":0}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"live"}},"/v1/finance:tokenjay/calc-sigma-rsv-exchange":{"get":{"operationId":"finance_tokenjay_calc_sigma_rsv_exchange","summary":"Calculates SigRSV exchange","description":"GET /sigrsv/exchange/{amount}/info","tags":["finance"],"parameters":[{"name":"amount","in":"query","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"live"}},"/v1/finance:tokenjay/get-sigma-rsv-price":{"get":{"operationId":"finance_tokenjay_get_sigma_rsv_price","summary":"Lists price and available volume for SigmaRSV","description":"GET /sigrsv/price","tags":["finance"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"live"}},"/v1/finance:tokenjay/do-sigma-usd-exchange":{"get":{"operationId":"finance_tokenjay_do_sigma_usd_exchange","summary":"Builds ErgoPayRequest for SigUSD exchange","description":"GET /sigusd/exchange/","tags":["finance"],"parameters":[{"name":"amount","in":"query","required":true,"schema":{"type":"integer"}},{"name":"address","in":"query","required":true,"schema":{"type":"string"}},{"name":"checkRate","in":"query","required":false,"schema":{"type":"integer","default":0}},{"name":"executionFee","in":"query","required":false,"schema":{"type":"integer","default":0}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"live"}},"/v1/finance:tokenjay/calc-sigma-usd-exchange":{"get":{"operationId":"finance_tokenjay_calc_sigma_usd_exchange","summary":"Calculates SigUSD exchange","description":"GET /sigusd/exchange/{amount}/info","tags":["finance"],"parameters":[{"name":"amount","in":"query","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"live"}},"/v1/finance:tokenjay/get-sigma-usd-price":{"get":{"operationId":"finance_tokenjay_get_sigma_usd_price","summary":"Lists price and available volume for SigmaUSD","description":"GET /sigusd/price","tags":["finance"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"live"}},"/v1/finance:tokenjay/check-token":{"get":{"operationId":"finance_tokenjay_check_token","summary":"Check a token verification","description":"GET /tokens/check/{tokenId}/{tokenName}","tags":["finance"],"parameters":[{"name":"tokenId","in":"query","required":true,"schema":{"type":"string"}},{"name":"tokenName","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"live"}},"/v1/finance:tokenjay/list-blocked":{"get":{"operationId":"finance_tokenjay_list_blocked","summary":"Lists all blocked tokens","description":"GET /tokens/listBlocked","tags":["finance"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"live"}},"/v1/finance:tokenjay/list-genuine":{"get":{"operationId":"finance_tokenjay_list_genuine","summary":"Lists all genuine tokens known","description":"GET /tokens/listGenuine","tags":["finance"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"live"}},"/v1/finance:tokenjay/get-token-prices":{"get":{"operationId":"finance_tokenjay_get_token_prices","summary":"Lists all token prices and available volume","description":"GET /tokens/prices/all","tags":["finance"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"live"}},"/v1/finance:tokenjay/get-token-price":{"get":{"operationId":"finance_tokenjay_get_token_price","summary":"Lists price and available volume for a certain token","description":"GET /tokens/prices/{tokenId}","tags":["finance"],"parameters":[{"name":"tokenId","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"live"}}},"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"x-api-key"}},"schemas":{"RunEnvelope":{"type":"object","required":["project","data","timestamp"],"properties":{"project":{"type":"string","example":"dev-tools:hash"},"data":{},"timestamp":{"type":"string","format":"date-time"}}},"ErrorEnvelope":{"type":"object","properties":{"content":{},"message":{"type":"string"},"errors":{"type":"array","items":{}},"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}}}}}},"responses":{"Error":{"description":"Invalid key, plan gate, rate limit or upstream failure","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}}