π·οΈLink API
Bounce Link RESTful Web API documentation
Overview
The Link API provides methods for interacting with Link phygital tags, verifying authenticity and ownership of connected collectibles, and managing their claim state.
For details on API authentication, limits and environments see API Overview
Example Link API usage
Link API interaction flow to validate and claim a Bounce Link tag.
Link API endpoints
GET Link tag status
GET Link tag statusCurrent status of a Link tag by tag & batch ID
GET https://api.letsbounce.gg/v1/link/status/{batch_id}/{tag_id}
This endpoint returns the status of a single Bounce Link tag by the tag's ID in the specified batch.
Path Parameters
batch_id*
Number
tag_id*
Numbrt
Link Tag status response:
GET Link tag status (batch)
GET Link tag status (batch)Current status of a list of Link tags by batch ID
GET https://api.letsbounce.gg/v1/link/status/{batch_id}
This endpoint returns the status of a list of Bounce Link tags by an ID range in a specified batch.
Path Parameters
batch_id*
Number
Link tag batch ID
Query Parameters
offset
Number
query offset
count
Number
batch query size
Link Tag batch status response:
POST Validate a Link Tag tap (by code)
POST Validate a Link Tag tap (by code)Validate authenticity of a tapped Link tag with forwarding code
POST https://api.letsbounce.gg/v1/link/validate/code
This endpoint can be used to validate the authenticity, currentness and validity (non-expiry) of a Link tap based on a code received from a Secure Forwarding redirection or deep-link.
In addition to an origin check, this can be used to pass tag verifiable details to a custom hosted page that is redirected to by a Bounce Link Tag tap.
Use this API to generate a short-lived claimCode to use for claiming a Link phygital via the API.
Request Body
code*
String
Short-lived validation code
If a code is valid, tag details will be available in the response.
If a tag is open for claim (unclaimed), a claimCode will be provided that you can use to trigger a claim with the Link API.
Link Tag tap validation response:
POST Validate a Link Tag tap (by tag params)
POST Validate a Link Tag tap (by tag params)Validate authenticity of a tapped Link tag with tag params
POST https://api.letsbounce.gg/v1/link/validate/tap
This endpoint can be used to validate the authenticity, currentness and validity (non-expiry) of a Link tag tap based on parameters received directly from the tag's dynamic URL.
Rather than extracting the URL params one-by-one, you may provide the entire URL of your claim page, including all dynamic parameters, and these will be parsed on the server.
The tag's batch ID and tag ID may be available as route params in the URL, and must be provided if they are (depending on project setup).
Use this API to generate a short-lived claimCode to use for claiming a Link phygital via the API.
Request Body
url*
String
project_id*
String
If a code is valid, tag details will be available in the response.
If a tag is open for claim (unclaimed), a claimCode will be provided that you can use to trigger a claim with the Link API.
Link Tag tap validation response:
POST Claim a Link Tag
POST Claim a Link TagClaim a Bounce Link phygital asset
GET https://api.letsbounce.gg/v1/link/claim
This endpoint can be used to claim an asset to a user account using a claimCode received from either a Code-based validation or Tap-based validation Link API calls.
User accounts can be either an Ethereum-compatible wallet addresses, or OAuth-compatible user IDs.
If a wallet is provided, it must be a string formatted hex with a 0x prefix. For example: 0xb794f5ea0ba39494ce839613fffba74279579268. Non-EVM wallets are currently not supported by the API.
Please contact the team at [email protected] for OAuth app integration or non-EVM wallet claims.
Request Body
claimCode*
String
A valid claim code from a validation response
user_account
String
A user's OAuth shared identifier
user_wallet
String
A user's Ethereum wallet address
In most cases claims are instant and a claim attempt will return as completed.
However, in some cases (and some blockchains), a claim might take longer than the request window, and a pending state will be returned.
In that case, please follow up on the claim request with a claim status request using the provided claimId
The Bounce SDK will manage delayed claims automatically and pull for status updates until a claim succeeds or fails.
Link Tag claim response:
GET Link Tag claim status
GET Link Tag claim statusCurrent status of a Link Tag claim
GET https://api.letsbounce.gg/v1/link/claim/status/{claim_id}
This endpoint can be used in cases where a claim request is long-running, or to verify the status of a claim request by claimId.
Path Parameters
Link Tag claim status response:
Last updated
Was this helpful?