For Developers

API Documentation

Integrate your application with the Talio Square marketplace. Use our sandbox environment to build and test safely, then switch to production when you're ready to go live.

Overview

Getting Started

The Talio Square API is a RESTful, JSON-based interface built on the Django REST Framework. It gives you programmatic access to products, categories, vendors, and orders.

API version

The current stable version of the API is v1. All endpoints are prefixed with /api/. Responses are returned as JSON. Every request should send an Accept: application/json header.

Environments

Sandbox & Production

Talio Square separates its API into two environments so you can build and test without affecting live data. Each environment has a distinct base URL and its own API keys.

Sandbox

Sandbox Environment

Use sandbox for development, testing, and validating integrations. It returns realistic mock data so your integration behaves exactly as it will in production — without touching real products or orders.

# Sandbox base URL
https://sandbox.taliosquare.international/api/

Sandbox credentials never expire credentials. You can obtain a sandbox API key at any time to start building immediately — no approval required.

Production

Production Environment

When your integration is tested and ready, apply for a production API key. Production exposes real marketplace data and enforces the live rate limits. Keep production keys secret and rotate them regularly.

# Production base URL
https://api.taliosquare.international/api/

A production key is issued after your sandbox integration passes review. Never commit production keys to source control.

Important: Sandbox and production keys are separate. A key from one environment will not work in the other. Use the correct base URL and key for each environment.

Security

Authentication

Authenticate by sending your API key in the Authorization header. Public endpoints (products, categories, vendors) can be called without a key, but rate limits are higher for authenticated requests.

Bearer token authentication

# All authenticated requests
Authorization: Token YOUR_API_KEY
Endpoint typeAuth requiredNotes
ProductsNo (public, read)Returns approved products
CategoriesNo (public, read)Returns active categories
VendorsNo (public, read)Returns approved, active stores
OrdersYesScoped to the authenticated user's own orders

Reference

Endpoints

The following endpoints are available in both sandbox and production. They are identical in behaviour; only the base URL and keys differ.

MethodPathDescription
GET/api/products/List approved products. Detail: /api/products/{slug}/
GET/api/products/hot/Top products this week by view count
GET/api/products/new/Newest products
GET/api/categories/List active categories. Detail: /api/categories/{slug}/
GET/api/vendors/List approved stores. Detail: /api/vendors/{store_slug}/
GET/api/vendors/featured-stores/Random selection of featured stores
GET/api/orders/List the authenticated user's orders

Representative response

Product object

// GET /api/products/{slug}/
{
  "id": 42,
  "title": "Premium Leather Backpack",
  "slug": "premium-leather-backpack",
  "product_type": "physical",
  "price": "14900.00",
  "commission_rate": "7.00",
  "category": {"id": 3, "name": "Accessories"},
  "status": "approved"
}

Policy

Rate Limits

To keep the API fast and fair, requests are rate-limited per key and per IP. Recommended and enforced limits are documented below.

EnvironmentAuthenticatedAnonymous
Sandbox120 requests / minute30 requests / minute
Production120 requests / minute30 requests / minute

Responses include the X-RateLimit-Limit, X-RateLimit-Remaining, and X-RateLimit-Reset headers so you can handle throttling gracefully.

Handling

Errors & Pagination

Errors are returned as JSON with a standard shape. Lists are paginated; inspect the response for a next/previous link to page through results.

// Example error response
{
  "detail": "Authenticated request required."
}
CodeMeaningAction
200OKRequest succeeded
401UnauthorizedCheck your API key or environment
404Not FoundCheck the resource slug / path
429Too Many RequestsSlow down; respect rate limits

Samples

Code Examples

A few quick examples to get you started in curl and Python.

curl — list approved products (sandbox)

curl -H "Accept: application/json" \
  https://sandbox.taliosquare.international/api/products/

Python — fetch a product

import requests

API = "https://sandbox.taliosquare.international/api"
headers = {"Accept": "application/json"}
r = requests.get(f"{API}/products/premium-leather-backpack/", headers=headers)
product = r.json()
print(product["title"], product["price"])

Python — authenticated order lookup

import requests

API = "https://api.taliosquare.international/api"
headers = {
  "Accept": "application/json",
  "Authorization": "Token YOUR_PRODUCTION_API_KEY"
}
r = requests.get(f"{API}/orders/", headers=headers)
orders = r.json()
Use the sandbox base URL and a sandbox key during development, and the api base URL with your production key when going live.
TradeSafe Escrow
KYC Verified Sellers
Guardrisk Insurance
85+ Courier Partners
Bitcoin Payments