API Reference
Complete REST API documentation for X1NS with interactive testing.
Base URL
https://api.x1ns.xyzAll endpoints are prefixed with /api.
Rate Limits
- Default: 100 requests/minute per IP
- No authentication required for public endpoints
Interactive API Explorer
Test our APIs directly from the documentation!
Resolve Domain
/api/resolve/:domainResolve a domain name to its owner address
curl https://api.x1ns.xyz/api/resolve/alice.x1Get Price
/api/price/:nameGet the registration price for a domain name based on length
curl https://api.x1ns.xyz/api/price/exampleCheck Availability
/api/available/:domainCheck if a domain is available for registration
curl https://api.x1ns.xyz/api/available/newdomain.x1Reverse Lookup
/api/reverse/:addressGet all domains owned by a wallet address
curl https://api.x1ns.xyz/api/reverse/DEQWNRhQmNg7T6UQxV8d2oJAanFHBu9YkNyXDb7GvzvAGet Primary Domain
/api/primary/:addressGet the primary domain set by a wallet owner
curl https://api.x1ns.xyz/api/primary/DEQWNRhQmNg7T6UQxV8d2oJAanFHBu9YkNyXDb7GvzvAGet Domain Records
/api/records/:domainGet all blockchain address records for a domain
curl https://api.x1ns.xyz/api/records/alice.x1Get Profile
/api/profile/:domainGet complete profile data for a domain including social links
curl https://api.x1ns.xyz/api/profile/alice.x1Get Subdomains
/api/subdomains/:domainGet all subdomains under a parent domain
curl https://api.x1ns.xyz/api/subdomains/alice.x1Marketplace APIs
Get Marketplace Listing
/api/marketplace/listing/:domainGet marketplace listing details for a specific domain
curl https://api.x1ns.xyz/api/marketplace/listing/premium.x1Get All Marketplace Listings
/api/marketplace/listingsGet all active marketplace listings with optional filters
curl https://api.x1ns.xyz/api/marketplace/listingsAnalytics APIs
Sales Statistics
/api/sales/statsGet comprehensive marketplace sales statistics
curl https://api.x1ns.xyz/api/sales/statsRecent Sales
/api/sales/recentGet recent marketplace sales with pagination
curl https://api.x1ns.xyz/api/sales/recentRecent Registrations
/api/registrations/recentGet recently registered domains
curl https://api.x1ns.xyz/api/registrations/recentRecent Tokenizations
/api/tokenizations/recentGet recently tokenized domains (converted to NFTs)
curl https://api.x1ns.xyz/api/tokenizations/recentRecent Listings
/api/listings/recentGet recently created marketplace listings
curl https://api.x1ns.xyz/api/listings/recentQuick Reference
All X1NS APIs are:
- ✅ Free to use - No API keys required
- ✅ Rate limited - 100 requests/minute per IP
- ✅ CORS enabled - Use from any domain
- ✅ JSON responses - All endpoints return JSON
- ✅ RESTful - Standard HTTP methods
For SDK integration, check out our TypeScript SDK.