API Playground

Test and explore the Braintree Magento Link Checker API

For ready-to-use source code, please download the files here: Source Code
Quick Stats
HQ

0

MID

0


INVALID

0

// Click "Send Request" to test the API

API Documentation

Endpoint URL
GET : api.php
Parameters
ParameterTypeRequiredDescription
listaStringYesThe Braintree add to cart link to validate
Response Codes
CodeMeaning
#HQHigh Quality - Valid working link
#MIDMedium Quality - Working but limited
#INVALIDInvalid or dead link

Example Links

cURL Example
curl -X GET "https://yourdomain.com/api.php?lista=https://store1.com/name-of-product.html"
JavaScript Example
fetch('https://yourdomain.com/api.php?lista=' + encodeURIComponent(link))
    .then(response => response.text())
    .then(data => console.log(data));
Python Example
import requests
link = "https://checkout.braintree.com/..."
response = requests.get(f"https://yourdomain.com/api.php?lista={link}")
print(response.text)