LogoLogo
WebsiteDiscordTwitter
  • Welcome
  • Changelog
  • MINT Token
  • Rewards
    • Swap Tourney
    • Rewards Overview
    • XP System Breakdown
    • Genesis Keys Overview
    • XP Boosts
    • SZN1 Mechanics
  • Other
    • Security & Audits
    • API (Programmatic Trading)
    • API (Data & Analytics)
    • Brand Assets
    • Press & Media
  • Legal
    • Terms of Use
    • Privacy Policy
Powered by GitBook
On this page
Export as PDF
  1. Other

API (Programmatic Trading)

Programmatic transactions (algorithmic trading, or PTs) use algorithms and computational schemes to execute transactions with minimal human intervention.

PreviousSecurity & AuditsNextAPI (Data & Analytics)

Last updated 1 year ago

Customers leverage the power of the Mintify API to optimize trading and operational efficiencies, reduce errors, swiftly capitalize on opportunities, integrate Orderbook features into external dApps, and more.

Order Execution

Procedurally execute your trading strategy or embed Mintify-based liquidity and trading functions directly into your dApp. Buy, sell, and trade your in-game assets with deep liquidity without leaving your in-game marketplace.

Risk Management

Algorithmically manage market exposure and risk based on predefined or dynamic variables composed of various actions for mitigating against loss/impermanent loss and rapid market downturns.

Algorithmic Development

Utilize Mintify data feeds for signal generation through statistical models and trading strategies to swiftly identify and capitalize on opportunities with minimal human intervention.

Build Using our API

Get access to full historical and real-time data, cached images, create trading bots, or build your own marketplace on ETH Mainnet, Base and Blast. here.

Pricing

To get started please

Tier 1
Tier 2

Price

$99/mo

$2499/mo

Requests/Second

100

1500

Chains

ETH, Base, Blast

ETH, Base, Blast, Ordinals (coming soon)

Features

Buy, Bid, List

Buy, Bid, List

Real-time Data

✅

✅


PT Instructions

All POST endpoints require the parameters to be posted in the body.

For endpoints that have a "signature" as final step in the response, you need to sign the correct structured data and post it in the endpoint that is mentioned in the response.

This final step has two crucial parts. the "post" object and the "sign" object. The flow is that you need to sign the "sign" object as follows (example using ethersjs):

const signature = await signer.signTypedData(sign.domain, sign.types, sign.value);

Then you need to post the "post.body" object to the endpoint mentioned in the "post.endpoint" property. You need to fill the "post.signature" and "post.maker" with your actual values before posting.

Learn more
fill out this form
post

Post a signed order

Authorizations
Query parameters
orderobjectRequired

The order object

makerstringRequired

The maker of the order

signaturestringRequired

The signature for the order object

Responses
200
{object} Status of the posted order
application/json
Responseobject

Returns the status of the posted order

post
POST /api/market/postSignedOrder HTTP/1.1
Host: api.mintify.xyz
API-KEY: YOUR_API_KEY
Accept: */*
200

{object} Status of the posted order

{}
post

Post a signed Cancellation

Authorizations
Query parameters
orderIdsobjectRequired

The order ids to cancel

makerstringRequired

The maker of the order

signaturestringRequired

The signature for the order object

orderKindstringRequired

The order kind

Responses
200
{object} Status of the posted cancellation
application/json
Responseobject

Returns the status of the posted order

post
POST /api/market/postSignedCancellation HTTP/1.1
Host: api.mintify.xyz
API-KEY: YOUR_API_KEY
Accept: */*
200

{object} Status of the posted cancellation

{}
post

Prepare a token bid order for a specific contract and token id.

Authorizations
Query parameters
contractstringRequired

The contract address

tokenIdnumberRequired

The token id

makerstringRequired

The maker of the order

pricenumberRequired

The price of the order in ETH

expirationnumberRequired

The unix timestamp of the expiration date

marketstringRequired

The market the order is for

Responses
200
{array} Array of steps to execute the order. Last step is signing the order and sending it to the postSignedOrder endpoint.
application/json
Responseobject[]

Returns array of steps that need to be completed. The last step has instructions on how to sign and post the final order

post
POST /api/market/createTokenBid HTTP/1.1
Host: api.mintify.xyz
API-KEY: YOUR_API_KEY
Accept: */*
200

{array} Array of steps to execute the order. Last step is signing the order and sending it to the postSignedOrder endpoint.

[
  {}
]
post

Prepare a collection bid order for a specific contract and token id.

Authorizations
Query parameters
contractstringRequired

The contract address

makerstringRequired

The maker of the order

pricenumberRequired

The price of the order in ETH

expirationnumberRequired

The unix timestamp of the expiration date

marketstringRequired

The market the order is for

Responses
200
{array} Array of steps to execute the order. Last step is signing the order and sending it to the postSignedOrder endpoint.
application/json
Responseobject[]

Returns array of steps that need to be completed. The last step has instructions on how to sign and post the final order

post
POST /api/market/createCollectionBid HTTP/1.1
Host: api.mintify.xyz
API-KEY: YOUR_API_KEY
Accept: */*
200

{array} Array of steps to execute the order. Last step is signing the order and sending it to the postSignedOrder endpoint.

[
  {}
]
post

Prepare a listing order for a specific contract and token id.

Authorizations
Query parameters
contractstringRequired

The contract address

tokenIdnumberRequired

The token id

makerstringRequired

The maker of the order

pricenumberRequired

The price of the order in ETH

expirationnumberRequired

The unix timestamp of the expiration date

marketstringRequired

The market the order is for

Responses
200
{array} Array of steps to execute the order. Last step is signing the order and sending it to the postSignedOrder endpoint.
application/json
Responseobject[]

Returns array of steps that need to be completed. The last step has instructions on how to sign and post the final order

post
POST /api/market/createListing HTTP/1.1
Host: api.mintify.xyz
API-KEY: YOUR_API_KEY
Accept: */*
200

{array} Array of steps to execute the order. Last step is signing the order and sending it to the postSignedOrder endpoint.

[
  {}
]
post

Cancel an order by its order id.

Authorizations
Query parameters
orderIdstringRequired

The order id

Responses
200
{object} Status of the order cancellation
application/json
Responseobject[]

Returns array of steps that need to be completed. The last step has instructions on how to sign and post the final order

post
POST /api/market/cancelOrder HTTP/1.1
Host: api.mintify.xyz
API-KEY: YOUR_API_KEY
Accept: */*
200

{object} Status of the order cancellation

[
  {}
]
post

Buy a listed token by its order id.

Authorizations
Query parameters
orderIdstringRequired

The order id

takerstringRequired

The taker address

Responses
200
{object} Status of the order purchase action
application/json
Responseobject[]

Returns array of steps that need to be completed. The last step has instructions on how to sign and post the final order

post
POST /api/market/buyListing HTTP/1.1
Host: api.mintify.xyz
API-KEY: YOUR_API_KEY
Accept: */*
200

{object} Status of the order purchase action

[
  {}
]
post

Accept an offer for a listed token by its order id.

Authorizations
Query parameters
orderIdstringRequired

The order id

ownerstringRequired

The token owner address

contractstringRequired

The contract address of the token to sell

tokenIdstringRequired

The token id to sell

Responses
200
{object} Status of the order purchase action
application/json
Responseobject[]

Returns array of steps that need to be completed. The last step has instructions on how to sign and post the final order

post
POST /api/market/acceptOffer HTTP/1.1
Host: api.mintify.xyz
API-KEY: YOUR_API_KEY
Accept: */*
200

{object} Status of the order purchase action

[
  {}
]
get

Get user's list orders for collection.

Authorizations
Query parameters
contractstringRequired

The contract address

ownerstringRequired

The owner address

tokenIdstringRequired

The token Id (optional)

Responses
200
{array} Array of listings
application/json
get
GET /api/market/getUserListings HTTP/1.1
Host: api.mintify.xyz
API-KEY: YOUR_API_KEY
Accept: */*
200

{array} Array of listings

[
  {
    "order_id": "text",
    "contract_address": "text",
    "token_id": "text",
    "creation_date": "text",
    "expiration_date": "text",
    "price": 1,
    "currency_price": 1,
    "currency": 1,
    "market": "text",
    "maker": "text",
    "quantity": "text",
    "updated": "text"
  }
]
get

Get user's bid orders for collection.

Authorizations
Query parameters
contractstringRequired

The contract address

ownerstringRequired

The owner address

tokenIdstringRequired

The token Id (optional)

Responses
200
{array} Array of bids
application/json
get
GET /api/market/getUserBids HTTP/1.1
Host: api.mintify.xyz
API-KEY: YOUR_API_KEY
Accept: */*
200

{array} Array of bids

[
  {
    "order_id": "text",
    "contract_address": "text",
    "token_id": "text",
    "creation_date": "text",
    "expiration_date": "text",
    "price": 1,
    "currency_price": 1,
    "currency": 1,
    "market": "text",
    "maker": "text",
    "quantity": "text",
    "updated": "text"
  }
]
  • Order Execution
  • Risk Management
  • Algorithmic Development
  • Build Using our API
  • Pricing
  • PT Instructions
  • POST/postSignedOrder
  • POST/postSignedCancellation
  • POST/createTokenBid
  • POST/createCollectionBid
  • POST/createListing
  • POST/cancelOrder
  • POST/buyListing
  • POST/acceptOffer
  • GET/getUserListings
  • GET/getUserBids