NeDomain
DEAL

Spring Sale: 50% discount on all escrow transfer fees and free domain listings!

RESTful API Engine v1.0

Developer API Documentation

Integrate NeDomain marketplace, automated escrow transactions, live appraisals, buyer bids, and notifications directly into your registrar apps, portfolio manager, and bots.

Base URL
https://nedomain.com/api/v1
Total Endpoints
49 Endpoints
Auth Protocol
Basic Base64 RFC 7617
Security
Strict Whitelisting
Live Sandbox Environment

Interactive Testing Console

Select an endpoint, specify authentication mode, edit JSON request bodies in real-time, and execute live API requests directly from your browser.

Log in for 1-Click Testing
GET
Authorization: Basic ... RFC 7617
// Ready to test. Select an endpoint above and click Send Request.
Cybersecurity Protocol

Authentication Standards

To ensure maximum security across third-party environments, all protected endpoints require Base64-encoded RFC 7617 HTTP Basic authentication, or signed API headers, coupled with strict origin whitelisting.

1

Primary Method: HTTP Basic Auth (Base64 Encoded)

Encode your Username (or Email) and API Key in the format of username:apiKey with Base64 encoding. Plaintext credentials sent over the wire are strictly rejected by the cybersecurity firewall.

// Formula: base64("username:apiKey") or base64("email:apiKey")
Authorization: Basic am9obl9kb2U6bmRfbGl2ZV85YThiN2M2ZDVlNGYzYTJiMWMwZA==
Base64 Header Generator Tool
Generated Authorization Header:
Authorization: Basic ...
2

Direct Custom Headers

Useful for CLI scripts and webhooks where Basic Auth cannot be formatted:

X-API-Key: nd_live_xxxxxxxxxxxxxxxx
X-API-Secret: nd_sec_xxxxxxxxxxxxxxxx
3

Bearer Authentication

Pass your API credentials as a Bearer authorization token:

Authorization: Bearer <API_KEY>:<API_SECRET>
Mandatory Whitelist Requirement

Before any protected API endpoint can be accessed, you must whitelist at least one valid server IP address or calling domain name in your user dashboard. Wildcards (*, all, any, 0.0.0.0/0) are strictly forbidden to prevent unauthorized exploitation.

Go to API Whitelist Settings Your Current IP: 216.73.216.51
Traffic Throttling

Rate Limiting Headers

NeDomain protects the marketplace platform with intelligent tier-based rate limiting. When a limit is exceeded, HTTP 429 Too Many Requests is returned.

Header Type Description Example
X-RateLimit-Limit integer Max allowed requests per 60-second rolling window. 60
X-RateLimit-Remaining integer Remaining requests available in the current window. 58
X-RateLimit-Reset timestamp Unix epoch timestamp when current rate quota resets. 1796341516
Data Structure

Standardized JSON Responses

Every response returned by NeDomain API follows an immutable envelope structure providing explicit status indicators, human-readable messages, and payload data.

Success Response
{ "success": true, "code": 200, "message": "Resource retrieved successfully.", "data": { ... }, "timestamp": 1796341456 }
Error Response
{ "success": false, "code": 401, "error_code": "INVALID_API_KEY", "message": "Invalid API Key or user credentials.", "errors": [], "timestamp": 1796341456 }
Status Matrix

Standard HTTP Status Codes

Refer to the table below to handle errors and status codes cleanly in your application logic.

HTTP Status Machine Code Recommended Action
200 OK SUCCESS Request succeeded; payload is in the data object.
201 Created CREATED New resource created (e.g., listing, bid, transfer).
400 Bad Request BAD_REQUEST Malformed request syntax or missing required query parameter.
401 Unauthorized INVALID_API_KEY Missing or invalid API credentials in Authorization header.
403 Forbidden WHITELIST_REJECTED Calling IP or Domain is not whitelisted in user dashboard.
404 Not Found NOT_FOUND Requested resource ID or slug does not exist or was deleted.
422 Unprocessable VALIDATION_FAILED Form payload validation failed. Check errors array for details.
429 Rate Limit RATE_LIMIT_EXCEEDED Request quota exceeded. Back off until X-RateLimit-Reset.

API Endpoints Reference Directory

Browse complete endpoint specifications with parameter dictionaries, multi-language code snippets, and live sample payloads.

System Operations

6 Endpoints in this module

GET /api/v1/ping Public Access 120 req / min

System Health

Verify API availability, database connectivity, and server time.

Request Code Example
curl -X GET "https://nedomain.com/api/v1/ping" \
  -H "Accept: application/json"
Sample Response Payload
{
    "success": true,
    "code": 200,
    "message": "NeDomain API service is operational.",
    "data": {
        "status": "online",
        "app_name": "NeDomain",
        "version": "1.2.0",
        "database_connected": true,
        "server_time": 1718000000,
        "server_time_iso": "2026-09-17T21:00:00+03:00",
        "auth_model": "Authorization: Basic base64(email:apiKey)"
    },
    "timestamp": 1718000000
}
GET /api/v1/categories Public Access 120 req / min

List Marketplace Categories

Retrieve all domain categories with active listing counts.

Request Code Example
curl -X GET "https://nedomain.com/api/v1/categories" \
  -H "Accept: application/json"
Sample Response Payload
{
    "success": true,
    "code": 200,
    "message": "Categories retrieved successfully.",
    "data": [
        {
            "id": 1,
            "name": "Technology",
            "slug": "technology",
            "active_listings": 142
        },
        {
            "id": 2,
            "name": "Finance",
            "slug": "finance",
            "active_listings": 88
        },
        {
            "id": 3,
            "name": "Commerce",
            "slug": "commerce",
            "active_listings": 64
        }
    ],
    "timestamp": 1718000000
}
GET /api/v1/currencies Public Access 120 req / min

Live Exchange Rates

Get active currencies and TCMB central bank exchange rates.

Request Code Example
curl -X GET "https://nedomain.com/api/v1/currencies" \
  -H "Accept: application/json"
Sample Response Payload
{
    "success": true,
    "code": 200,
    "message": "Currencies and exchange rates retrieved successfully.",
    "data": {
        "base_currency": "USD",
        "min_listing_price": 5,
        "supported_currencies": [
            "TRY",
            "USD",
            "EUR"
        ],
        "rates": {
            "USD_TRY": 38.5,
            "EUR_TRY": 41.2,
            "EUR_USD": 1.07
        }
    },
    "timestamp": 1718000000
}
GET /api/v1/tlds Public Access 120 req / min

Supported TLD Extensions

Retrieve list of supported domain extensions and transfer capabilities.

Request Code Example
curl -X GET "https://nedomain.com/api/v1/tlds" \
  -H "Accept: application/json"
Sample Response Payload
{
    "success": true,
    "code": 200,
    "message": "Supported TLD extensions retrieved.",
    "data": [
        {
            "tld": ".com",
            "type": "generic",
            "supports_direct_epp": true,
            "supports_escrow": true
        },
        {
            "tld": ".com.tr",
            "type": "cctld",
            "supports_direct_epp": true,
            "supports_escrow": true
        },
        {
            "tld": ".io",
            "type": "tech",
            "supports_direct_epp": true,
            "supports_escrow": true
        },
        {
            "tld": ".ai",
            "type": "tech",
            "supports_direct_epp": true,
            "supports_escrow": true
        }
    ],
    "timestamp": 1718000000
}
GET /api/v1/profile Auth Required 60 req / min

Account Profile

Retrieve current authenticated user details, package limits and multi-currency balances.

Request Code Example
curl -X GET "https://nedomain.com/api/v1/profile" \
  -H "Accept: application/json" \
  -u "YOUR_EMAIL_OR_USERNAME:YOUR_API_KEY"
Sample Response Payload
{
    "success": true,
    "code": 200,
    "message": "User profile retrieved successfully.",
    "data": {
        "id": 10,
        "full_name": "Ahmet Yılmaz",
        "email": "ahmet@example.com",
        "phone": "+905551234567",
        "role": "user",
        "status": "active",
        "kyc_status": "verified",
        "wallet": {
            "primary_currency": "TRY",
            "balances": {
                "TRY": 25400.5,
                "USD": 1250,
                "EUR": 450
            }
        },
        "package": {
            "id": 2,
            "name": "Starter",
            "domain_limit": 5
        },
        "api_security": {
            "status": "active",
            "rate_limit_per_minute": 60,
            "has_ip_restriction": true,
            "whitelisted_ips": [
                "85.105.20.14"
            ],
            "has_domain_restriction": true,
            "whitelisted_domains": [
                "myshop.com"
            ]
        }
    },
    "timestamp": 1718000000
}
PUT /api/v1/profile Auth Required 30 req / min

Update User Profile

Update account name, phone number, and default wallet currency.

Request Code Example
curl -X PUT "https://nedomain.com/api/v1/profile" \
  -H "Accept: application/json" \
  -u "YOUR_EMAIL_OR_USERNAME:YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d "{\"full_name\":\"Ahmet Y\u0131lmaz\",\"phone\":\"+905551234567\",\"default_currency\":\"TRY\"}"
Sample Response Payload
{
    "success": true,
    "code": 200,
    "message": "Profile updated successfully.",
    "data": {
        "updated": true
    },
    "timestamp": 1718000000
}

Domain Management

8 Endpoints in this module

GET /api/v1/domains Auth Required 60 req / min

List User Domains

Retrieve all domains in your portfolio with pagination, search, and verification status.

Parameters
Field In Type Requirement Description
status query string Optional Filter: verified, unverified
search query string Optional Keyword search across domain names
limit query integer Optional Limit (1-100, default: 20)
offset query integer Optional Pagination offset
Request Code Example
curl -X GET "https://nedomain.com/api/v1/domains" \
  -H "Accept: application/json" \
  -u "YOUR_EMAIL_OR_USERNAME:YOUR_API_KEY"
Sample Response Payload
{
    "success": true,
    "code": 200,
    "message": "Domains retrieved successfully.",
    "data": {
        "total": 1,
        "limit": 20,
        "offset": 0,
        "domains": [
            {
                "id": 101,
                "domain_name": "startup.com",
                "domain_ascii": "startup.com",
                "tld": ".com",
                "registrar": "GoDaddy",
                "verification_status": "verified",
                "is_verified": true,
                "listing": {
                    "id": 45,
                    "status": "active",
                    "price": 5000,
                    "currency": "USD",
                    "sale_type": "fixed"
                },
                "created_at": 1718000000
            }
        ]
    },
    "timestamp": 1718000000
}
POST /api/v1/domains/check Auth Required 60 req / min

Pre-Check Domain Eligibility

Check syntax, blacklist compliance, WHOIS status, and package addition limit before adding.

Request Code Example
curl -X POST "https://nedomain.com/api/v1/domains/check" \
  -H "Accept: application/json" \
  -u "YOUR_EMAIL_OR_USERNAME:YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d "{\"domain_name\":\"example.com\"}"
Sample Response Payload
{
    "success": true,
    "code": 200,
    "message": "Domain check completed.",
    "data": {
        "domain": "example.com",
        "tld": ".com",
        "can_add": true,
        "checks": {
            "already_registered": false,
            "is_blocked": false,
            "package_expired": false,
            "monthly_limit_reached": false,
            "monthly_used": 2,
            "monthly_limit": 5
        },
        "whois": {
            "status": "registered",
            "nameservers": [
                "ns1.example.com",
                "ns2.example.com"
            ]
        }
    },
    "timestamp": 1718000000
}
GET /api/v1/domains/{id} Auth Required 60 req / min

Domain Details

Retrieve single domain details, verification token, and exact TXT/CNAME instructions.

Parameters
Field In Type Requirement Description
id query integer Required Domain ID
Request Code Example
curl -X GET "https://nedomain.com/api/v1/domains/{id}" \
  -H "Accept: application/json" \
  -u "YOUR_EMAIL_OR_USERNAME:YOUR_API_KEY"
Sample Response Payload
{
    "success": true,
    "code": 200,
    "message": "Domain details retrieved successfully.",
    "data": {
        "id": 101,
        "domain_name": "startup.com",
        "tld": ".com",
        "verification_status": "unverified",
        "verification_token": "a9f8b2c4e6d1",
        "verification_instructions": {
            "dns_txt": {
                "type": "TXT",
                "host": "@",
                "value": "nedomain-verify=a9f8b2c4e6d1"
            },
            "dns_cname": {
                "type": "CNAME",
                "host": "_nedomain-verify",
                "value": "a9f8b2c4e6d1.verify.nedomain.com"
            }
        }
    },
    "timestamp": 1718000000
}
GET /api/v1/domains/{id}/dns Auth Required 30 req / min

Live DNS Record Inspection

Fetch current live TXT, CNAME, and NS records discovered on domain to troubleshoot propagation.

Parameters
Field In Type Requirement Description
id query integer Required Domain ID
Request Code Example
curl -X GET "https://nedomain.com/api/v1/domains/{id}/dns" \
  -H "Accept: application/json" \
  -u "YOUR_EMAIL_OR_USERNAME:YOUR_API_KEY"
Sample Response Payload
{
    "success": true,
    "code": 200,
    "message": "Live DNS records retrieved.",
    "data": {
        "domain": "startup.com",
        "expected_token": "a9f8b2c4e6d1",
        "token_found": true,
        "live_records": {
            "txt": [
                "v=spf1 ~all",
                "nedomain-verify=a9f8b2c4e6d1"
            ],
            "cname": [],
            "ns": [
                "ns1.nameserver.com",
                "ns2.nameserver.com"
            ]
        }
    },
    "timestamp": 1718000000
}
POST /api/v1/domains Auth Required 30 req / min

Add Domain to Portfolio

Register a new domain, generate DNS ownership token, and optionally create instant marketplace listing.

Request Code Example
curl -X POST "https://nedomain.com/api/v1/domains" \
  -H "Accept: application/json" \
  -u "YOUR_EMAIL_OR_USERNAME:YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d "{\"domain_name\":\"brandable.com\",\"registrar\":\"Namecheap\",\"epp_code\":\"AuthCode123\",\"list_immediately\":false}"
Sample Response Payload
{
    "success": true,
    "code": 201,
    "message": "Domain registered successfully. Please configure DNS TXT or CNAME record to verify ownership.",
    "data": {
        "id": 102,
        "domain_name": "brandable.com",
        "verification_status": "unverified",
        "verification_token": "7e9a2b5c8f1d",
        "instructions": {
            "dns_txt": {
                "type": "TXT",
                "host": "@",
                "value": "nedomain-verify=7e9a2b5c8f1d"
            }
        }
    },
    "timestamp": 1718000000
}
POST /api/v1/domains/{id}/verify Auth Required 30 req / min

Verify DNS Ownership

Execute real-time DNS TXT and CNAME verification check for the specified domain.

Parameters
Field In Type Requirement Description
id query integer Required Domain ID
Request Code Example
curl -X POST "https://nedomain.com/api/v1/domains/{id}/verify" \
  -H "Accept: application/json" \
  -u "YOUR_EMAIL_OR_USERNAME:YOUR_API_KEY"
Sample Response Payload
{
    "success": true,
    "code": 200,
    "message": "Domain ownership verified successfully!",
    "data": {
        "id": 102,
        "domain_name": "brandable.com",
        "verification_status": "verified",
        "verified_at": 1718001000
    },
    "timestamp": 1718001000
}
DELETE /api/v1/domains/{id} Auth Required 30 req / min

Remove Domain

Permanently remove domain from portfolio. Strictly blocked if active escrow transactions exist.

Parameters
Field In Type Requirement Description
id query integer Required Domain ID
Request Code Example
curl -X DELETE "https://nedomain.com/api/v1/domains/{id}" \
  -H "Accept: application/json" \
  -u "YOUR_EMAIL_OR_USERNAME:YOUR_API_KEY"
Sample Response Payload
{
    "success": true,
    "code": 200,
    "message": "Domain and associated listings removed successfully.",
    "data": {
        "id": 102,
        "deleted": true
    },
    "timestamp": 1718000000
}
GET /api/v1/domains/whois Public Access 60 req / min

Live WHOIS Lookup

Query WHOIS registration status, nameservers, and expiration dates.

Parameters
Field In Type Requirement Description
domain query string Required Domain name to query
Request Code Example
curl -X GET "https://nedomain.com/api/v1/domains/whois" \
  -H "Accept: application/json"
Sample Response Payload
{
    "success": true,
    "code": 200,
    "message": "Domain status queried successfully.",
    "data": {
        "domain": "example.com",
        "registered_in_nedomain": false,
        "whois_status": "registered",
        "nameservers": [
            "a.iana-servers.net",
            "b.iana-servers.net"
        ]
    },
    "timestamp": 1718000000
}

Marketplace Listings

9 Endpoints in this module

GET /api/v1/listings Public Access 120 req / min

Search Marketplace Catalog

Search active listings by keyword, category, extension, price range, and purchase model.

Parameters
Field In Type Requirement Description
query query string Optional Domain name query
category query string Optional Category name
tld query string Optional Extension e.g. .com, .ai
min_price query number Optional Minimum price
max_price query number Optional Maximum price
sale_type query string Optional fixed, offer, auction, lease
sort query string Optional newest, price_asc, price_desc, popular
Request Code Example
curl -X GET "https://nedomain.com/api/v1/listings" \
  -H "Accept: application/json"
Sample Response Payload
{
    "success": true,
    "code": 200,
    "message": "Marketplace listings retrieved successfully.",
    "data": {
        "total": 24,
        "limit": 20,
        "offset": 0,
        "listings": [
            {
                "id": 45,
                "title": "AI SaaS Platform Domain",
                "domain_name": "saas.ai",
                "tld": ".ai",
                "price": 12500,
                "currency": "USD",
                "sale_type": "fixed",
                "transfer_model": "escrow",
                "allow_offer": true,
                "views_count": 312
            }
        ]
    },
    "timestamp": 1718000000
}
GET /api/v1/my-listings Auth Required 60 req / min

My Listings

Retrieve seller listings (active, paused, draft, sold, pending_review).

Parameters
Field In Type Requirement Description
status query string Optional active, paused, draft, sold
Request Code Example
curl -X GET "https://nedomain.com/api/v1/my-listings" \
  -H "Accept: application/json" \
  -u "YOUR_EMAIL_OR_USERNAME:YOUR_API_KEY"
Sample Response Payload
{
    "success": true,
    "code": 200,
    "message": "My listings retrieved successfully.",
    "data": {
        "total": 2,
        "listings": [
            {
                "id": 45,
                "domain_id": 101,
                "domain_name": "startup.com",
                "title": "Startup Domain",
                "price_currency": 5000,
                "currency": "USD",
                "status": "active"
            }
        ]
    },
    "timestamp": 1718000000
}
GET /api/v1/listings/{id} Public Access 120 req / min

Listing Details

Retrieve complete listing details, purchase options, seller information, and statistics.

Parameters
Field In Type Requirement Description
id query integer Required Listing ID
Request Code Example
curl -X GET "https://nedomain.com/api/v1/listings/{id}" \
  -H "Accept: application/json"
Sample Response Payload
{
    "success": true,
    "code": 200,
    "message": "Listing details retrieved successfully.",
    "data": {
        "id": 45,
        "domain_id": 101,
        "domain_name": "startup.com",
        "title": "Startup Domain",
        "description": "Brandable, memorable domain for technology companies.",
        "price": 192500,
        "price_currency": 5000,
        "currency": "USD",
        "sale_type": "fixed",
        "transfer_model": "escrow",
        "allow_fixed_price": true,
        "allow_offer": true,
        "min_offer_amount": 3000,
        "status": "active",
        "seller": {
            "id": 10,
            "name": "Ahmet Yılmaz"
        }
    },
    "timestamp": 1718000000
}
POST /api/v1/listings Auth Required 30 req / min

Create Listing

Publish an owned domain to the marketplace with fixed, offer, auction, or lease terms.

Request Code Example
curl -X POST "https://nedomain.com/api/v1/listings" \
  -H "Accept: application/json" \
  -u "YOUR_EMAIL_OR_USERNAME:YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d "{\"domain_id\":101,\"title\":\"Fintech Startup Brand\",\"description\":\"Short, brandable domain name.\",\"price\":5000,\"currency\":\"USD\",\"sale_type\":\"fixed\",\"allow_fixed_price\":true,\"allow_offer\":true,\"min_offer_amount\":3000,\"transfer_model\":\"escrow\",\"category\":\"Finance\"}"
Sample Response Payload
{
    "success": true,
    "code": 201,
    "message": "Listing created successfully.",
    "data": {
        "id": 46,
        "domain_id": 101,
        "title": "Fintech Startup Brand",
        "price": 5000,
        "currency": "USD",
        "status": "active"
    },
    "timestamp": 1718000000
}
PUT /api/v1/listings/{id} Auth Required 30 req / min

Update Listing

Update price, description, category or terms. Blocked if active escrow is underway.

Parameters
Field In Type Requirement Description
id query integer Required Listing ID
Request Code Example
curl -X PUT "https://nedomain.com/api/v1/listings/{id}" \
  -H "Accept: application/json" \
  -u "YOUR_EMAIL_OR_USERNAME:YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d "{\"title\":\"Updated Listing Title\",\"price\":4500,\"currency\":\"USD\",\"category\":\"Technology\"}"
Sample Response Payload
{
    "success": true,
    "code": 200,
    "message": "Listing updated successfully.",
    "data": {
        "id": 46,
        "updated": true
    },
    "timestamp": 1718000000
}
POST /api/v1/listings/{id}/pause Auth Required 30 req / min

Pause Listing

Temporarily de-list from public search catalog.

Parameters
Field In Type Requirement Description
id query integer Required Listing ID
Request Code Example
curl -X POST "https://nedomain.com/api/v1/listings/{id}/pause" \
  -H "Accept: application/json" \
  -u "YOUR_EMAIL_OR_USERNAME:YOUR_API_KEY"
Sample Response Payload
{
    "success": true,
    "code": 200,
    "message": "Listing paused successfully.",
    "data": {
        "id": 46,
        "status": "paused"
    },
    "timestamp": 1718000000
}
POST /api/v1/listings/{id}/publish Auth Required 30 req / min

Publish Listing

Reactivate paused listing on marketplace.

Parameters
Field In Type Requirement Description
id query integer Required Listing ID
Request Code Example
curl -X POST "https://nedomain.com/api/v1/listings/{id}/publish" \
  -H "Accept: application/json" \
  -u "YOUR_EMAIL_OR_USERNAME:YOUR_API_KEY"
Sample Response Payload
{
    "success": true,
    "code": 200,
    "message": "Listing published successfully.",
    "data": {
        "id": 46,
        "status": "active"
    },
    "timestamp": 1718000000
}
DELETE /api/v1/listings/{id} Auth Required 30 req / min

Delete Listing

Delete marketplace listing. Strictly blocked if active escrow transaction exists.

Parameters
Field In Type Requirement Description
id query integer Required Listing ID
Request Code Example
curl -X DELETE "https://nedomain.com/api/v1/listings/{id}" \
  -H "Accept: application/json" \
  -u "YOUR_EMAIL_OR_USERNAME:YOUR_API_KEY"
Sample Response Payload
{
    "success": true,
    "code": 200,
    "message": "Listing deleted successfully.",
    "data": {
        "id": 46,
        "deleted": true
    },
    "timestamp": 1718000000
}

Auctions

2 Endpoints in this module

GET /api/v1/listings/{id}/bids Public Access 60 req / min

Auction Bid History

Retrieve chronological bidding history and highest bid for an auction.

Parameters
Field In Type Requirement Description
id query integer Required Listing ID
Request Code Example
curl -X GET "https://nedomain.com/api/v1/listings/{id}/bids" \
  -H "Accept: application/json"
Sample Response Payload
{
    "success": true,
    "code": 200,
    "message": "Bid history retrieved successfully.",
    "data": {
        "listing_id": 50,
        "currency": "USD",
        "highest_bid": 1800,
        "total_bids": 2,
        "bids": [
            {
                "id": 12,
                "amount": 1800,
                "bidder": "Mehmet K***",
                "created_at": 1718005000
            },
            {
                "id": 11,
                "amount": 1500,
                "bidder": "Can D***",
                "created_at": 1718002000
            }
        ]
    },
    "timestamp": 1718005000
}
POST /api/v1/listings/{id}/bid Auth Required 30 req / min

Place Auction Bid

Submit a competitive bid on an active auction. Checks wallet balance.

Parameters
Field In Type Requirement Description
id query integer Required Listing ID
Request Code Example
curl -X POST "https://nedomain.com/api/v1/listings/{id}/bid" \
  -H "Accept: application/json" \
  -u "YOUR_EMAIL_OR_USERNAME:YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d "{\"amount\":1900}"
Sample Response Payload
{
    "success": true,
    "code": 201,
    "message": "Bid successfully placed.",
    "data": {
        "id": 13,
        "listing_id": 50,
        "amount": 1900,
        "currency": "USD",
        "highest_bid": 1900
    },
    "timestamp": 1718006000
}

Offers

4 Endpoints in this module

GET /api/v1/offers Auth Required 60 req / min

List Offers

Retrieve received, sent, or all buyer offers with status filter.

Parameters
Field In Type Requirement Description
type query string Optional all, received, sent (default: all)
status query string Optional pending, accepted, rejected, withdrawn
Request Code Example
curl -X GET "https://nedomain.com/api/v1/offers" \
  -H "Accept: application/json" \
  -u "YOUR_EMAIL_OR_USERNAME:YOUR_API_KEY"
Sample Response Payload
{
    "success": true,
    "code": 200,
    "message": "Offers retrieved successfully.",
    "data": {
        "received_count": 1,
        "sent_count": 0,
        "received": [
            {
                "id": 88,
                "listing_id": 45,
                "domain_name": "startup.com",
                "amount": 4200,
                "currency": "USD",
                "buyer_name": "Can K.",
                "status": "pending",
                "expires_at": 1718200000
            }
        ]
    },
    "timestamp": 1718000000
}
GET /api/v1/offers/{id} Auth Required 60 req / min

Offer Details

Retrieve single offer details and permitted actions (accept/reject/withdraw).

Parameters
Field In Type Requirement Description
id query integer Required Offer ID
Request Code Example
curl -X GET "https://nedomain.com/api/v1/offers/{id}" \
  -H "Accept: application/json" \
  -u "YOUR_EMAIL_OR_USERNAME:YOUR_API_KEY"
Sample Response Payload
{
    "success": true,
    "code": 200,
    "message": "Offer details retrieved successfully.",
    "data": {
        "id": 88,
        "listing_id": 45,
        "domain_name": "startup.com",
        "amount": 4200,
        "currency": "USD",
        "status": "pending",
        "permissions": {
            "is_seller": true,
            "can_accept": true,
            "can_reject": true,
            "can_withdraw": false
        }
    },
    "timestamp": 1718000000
}
POST /api/v1/offers Auth Required 30 req / min

Submit Buyer Offer

Make a binding offer on a domain listing.

Request Code Example
curl -X POST "https://nedomain.com/api/v1/offers" \
  -H "Accept: application/json" \
  -u "YOUR_EMAIL_OR_USERNAME:YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d "{\"listing_id\":45,\"amount\":4200,\"message\":\"Cash ready in wallet. Can close today.\"}"
Sample Response Payload
{
    "success": true,
    "code": 201,
    "message": "Offer submitted successfully.",
    "data": {
        "id": 89,
        "listing_id": 45,
        "domain_name": "startup.com",
        "amount": 4200,
        "currency": "USD",
        "status": "pending"
    },
    "timestamp": 1718000000
}
POST /api/v1/offers/{id}/action Auth Required 30 req / min

Manage Offer Action

Seller can accept (creates escrow transaction) or reject. Buyer can withdraw pending offer.

Parameters
Field In Type Requirement Description
id query integer Required Offer ID
Request Code Example
curl -X POST "https://nedomain.com/api/v1/offers/{id}/action" \
  -H "Accept: application/json" \
  -u "YOUR_EMAIL_OR_USERNAME:YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d "{\"action\":\"accept\"}"
Sample Response Payload
{
    "success": true,
    "code": 200,
    "message": "Offer accepted and escrow transaction created successfully.",
    "data": {
        "id": 89,
        "status": "accepted",
        "transaction_id": 112,
        "escrow_status": "waiting_payment",
        "amount": 4200,
        "currency": "USD"
    },
    "timestamp": 1718000000
}

Transactions

8 Endpoints in this module

GET /api/v1/transactions Auth Required 60 req / min

List Escrow Transactions

Retrieve transactions as buyer, seller, or all with escrow status filter.

Parameters
Field In Type Requirement Description
role query string Optional all, buyer, seller (default: all)
status query string Optional waiting_payment, payment_secured, transfer_pending, completed, disputed
Request Code Example
curl -X GET "https://nedomain.com/api/v1/transactions" \
  -H "Accept: application/json" \
  -u "YOUR_EMAIL_OR_USERNAME:YOUR_API_KEY"
Sample Response Payload
{
    "success": true,
    "code": 200,
    "message": "Transactions retrieved successfully.",
    "data": {
        "total": 1,
        "transactions": [
            {
                "id": 112,
                "listing_id": 45,
                "domain_name": "startup.com",
                "my_role": "seller",
                "price_currency": 4200,
                "currency": "USD",
                "escrow_status": "waiting_payment",
                "transfer_model": "escrow"
            }
        ]
    },
    "timestamp": 1718000000
}
GET /api/v1/transactions/{id} Auth Required 60 req / min

Transaction Timeline

Detailed transaction overview, financials, commission, EPP/proof info, and permitted actions.

Parameters
Field In Type Requirement Description
id query integer Required Transaction ID
Request Code Example
curl -X GET "https://nedomain.com/api/v1/transactions/{id}" \
  -H "Accept: application/json" \
  -u "YOUR_EMAIL_OR_USERNAME:YOUR_API_KEY"
Sample Response Payload
{
    "success": true,
    "code": 200,
    "message": "Transaction details retrieved successfully.",
    "data": {
        "id": 112,
        "domain_name": "startup.com",
        "escrow_status": "payment_secured",
        "financials": {
            "price": 4200,
            "currency": "USD",
            "commission_rate": 8,
            "seller_receive_net": 3864
        },
        "actions": {
            "can_pay": false,
            "can_upload_proof": true,
            "can_confirm": false,
            "can_dispute": true
        }
    },
    "timestamp": 1718000000
}
POST /api/v1/transactions/{id}/pay Auth Required 30 req / min

Fund Escrow from Wallet

Buyer endpoint to fund escrow from wallet balance (supports TRY, USD, EUR).

Parameters
Field In Type Requirement Description
id query integer Required Transaction ID
Request Code Example
curl -X POST "https://nedomain.com/api/v1/transactions/{id}/pay" \
  -H "Accept: application/json" \
  -u "YOUR_EMAIL_OR_USERNAME:YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d "{\"pay_currency\":\"USD\"}"
Sample Response Payload
{
    "success": true,
    "code": 200,
    "message": "Payment successfully secured in escrow. Seller has been notified to transfer the domain.",
    "data": {
        "id": 112,
        "status": "payment_secured",
        "amount_paid": 4200,
        "currency": "USD"
    },
    "timestamp": 1718000000
}
POST /api/v1/transactions/{id}/proof Auth Required 30 req / min

Submit Transfer Proof

Seller endpoint to provide domain authorization code or transfer confirmation details.

Parameters
Field In Type Requirement Description
id query integer Required Transaction ID
Request Code Example
curl -X POST "https://nedomain.com/api/v1/transactions/{id}/proof" \
  -H "Accept: application/json" \
  -u "YOUR_EMAIL_OR_USERNAME:YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d "{\"epp_code\":\"EPP-Secret-999\",\"notes\":\"Initiated push to GoDaddy account: buyer@example.com\"}"
Sample Response Payload
{
    "success": true,
    "code": 200,
    "message": "Transfer proof submitted successfully. Buyer has been notified to confirm delivery.",
    "data": {
        "id": 112,
        "status": "transfer_pending"
    },
    "timestamp": 1718000000
}
POST /api/v1/transactions/{id}/confirm Auth Required 30 req / min

Confirm Delivery

Buyer endpoint to confirm domain received, transferring ownership and releasing funds to seller.

Parameters
Field In Type Requirement Description
id query integer Required Transaction ID
Request Code Example
curl -X POST "https://nedomain.com/api/v1/transactions/{id}/confirm" \
  -H "Accept: application/json" \
  -u "YOUR_EMAIL_OR_USERNAME:YOUR_API_KEY"
Sample Response Payload
{
    "success": true,
    "code": 200,
    "message": "Domain transfer confirmed successfully. Escrow funds released to the seller.",
    "data": {
        "id": 112,
        "status": "completed",
        "domain_transferred": true
    },
    "timestamp": 1718000000
}
POST /api/v1/transactions/{id}/dispute Auth Required 10 req / min

Open Transaction Dispute

Open a dispute for platform mediation if transfer terms are breached.

Parameters
Field In Type Requirement Description
id query integer Required Transaction ID
Request Code Example
curl -X POST "https://nedomain.com/api/v1/transactions/{id}/dispute" \
  -H "Accept: application/json" \
  -u "YOUR_EMAIL_OR_USERNAME:YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d "{\"reason\":\"EPP Auth Code Invalid\",\"description\":\"The provided EPP authorization code failed registrar transfer check.\"}"
Sample Response Payload
{
    "success": true,
    "code": 200,
    "message": "Dispute successfully recorded. Our mediation team will review the transaction.",
    "data": {
        "id": 112,
        "dispute_id": 4,
        "status": "disputed"
    },
    "timestamp": 1718000000
}
GET /api/v1/transactions/{id}/messages Auth Required 60 req / min

Escrow Thread Messages

Retrieve secure communication thread between buyer and seller for this transaction.

Parameters
Field In Type Requirement Description
id query integer Required Transaction ID
Request Code Example
curl -X GET "https://nedomain.com/api/v1/transactions/{id}/messages" \
  -H "Accept: application/json" \
  -u "YOUR_EMAIL_OR_USERNAME:YOUR_API_KEY"
Sample Response Payload
{
    "success": true,
    "code": 200,
    "message": "Escrow messages retrieved.",
    "data": {
        "transaction_id": 112,
        "total": 1,
        "messages": [
            {
                "id": 204,
                "sender_name": "Ahmet Yılmaz",
                "is_me": true,
                "body": "I have pushed the domain to your registrar account.",
                "created_at": 1718001000
            }
        ]
    },
    "timestamp": 1718000000
}
POST /api/v1/transactions/{id}/message Auth Required 30 req / min

Send Escrow Message

Post an encrypted message inside the transaction escrow communication log.

Parameters
Field In Type Requirement Description
id query integer Required Transaction ID
Request Code Example
curl -X POST "https://nedomain.com/api/v1/transactions/{id}/message" \
  -H "Accept: application/json" \
  -u "YOUR_EMAIL_OR_USERNAME:YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d "{\"body\":\"Domain push accepted on my end. Everything looks good.\"}"
Sample Response Payload
{
    "success": true,
    "code": 201,
    "message": "Message sent successfully.",
    "data": {
        "id": 205,
        "transaction_id": 112
    },
    "timestamp": 1718000000
}

Wallet Operations

7 Endpoints in this module

GET /api/v1/wallet Auth Required 60 req / min

Multi-Currency Balances

Check real-time balances in TRY, USD, EUR and total estimated value.

Request Code Example
curl -X GET "https://nedomain.com/api/v1/wallet" \
  -H "Accept: application/json" \
  -u "YOUR_EMAIL_OR_USERNAME:YOUR_API_KEY"
Sample Response Payload
{
    "success": true,
    "code": 200,
    "message": "Wallet balances retrieved successfully.",
    "data": {
        "primary_currency": "TRY",
        "balances": {
            "TRY": 25400.5,
            "USD": 1250,
            "EUR": 450
        },
        "total_estimated": {
            "amount": 92065.5,
            "currency": "TRY"
        }
    },
    "timestamp": 1718000000
}
GET /api/v1/wallet/transactions Auth Required 60 req / min

Financial Ledger History

Retrieve ledger history including deposits, sales payouts, exchanges, and withdrawals.

Parameters
Field In Type Requirement Description
limit query integer Optional Limit (1-100, default: 20)
Request Code Example
curl -X GET "https://nedomain.com/api/v1/wallet/transactions" \
  -H "Accept: application/json" \
  -u "YOUR_EMAIL_OR_USERNAME:YOUR_API_KEY"
Sample Response Payload
{
    "success": true,
    "code": 200,
    "message": "Wallet ledger retrieved successfully.",
    "data": {
        "total": 1,
        "transactions": [
            {
                "id": 550,
                "description": "Escrow payout credited: 3864.00 USD for startup.com",
                "entity_type": "Transaction",
                "created_at": 1718000000
            }
        ]
    },
    "timestamp": 1718000000
}
POST /api/v1/wallet/exchange Auth Required 30 req / min

Instant Currency Exchange

Convert funds instantly between TRY, USD, and EUR using live TCMB exchange rates.

Request Code Example
curl -X POST "https://nedomain.com/api/v1/wallet/exchange" \
  -H "Accept: application/json" \
  -u "YOUR_EMAIL_OR_USERNAME:YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d "{\"from_currency\":\"USD\",\"to_currency\":\"TRY\",\"amount\":500}"
Sample Response Payload
{
    "success": true,
    "code": 200,
    "message": "Currency exchange executed successfully.",
    "data": {
        "from_currency": "USD",
        "to_currency": "TRY",
        "amount_exchanged": 500,
        "amount_received": 19250,
        "exchange_rate": 38.5,
        "new_balances": {
            "USD": 750,
            "TRY": 44650.5
        }
    },
    "timestamp": 1718000000
}
GET /api/v1/wallet/bank-accounts Auth Required 60 req / min

List Saved Bank Accounts

Retrieve list of registered IBAN payout accounts.

Request Code Example
curl -X GET "https://nedomain.com/api/v1/wallet/bank-accounts" \
  -H "Accept: application/json" \
  -u "YOUR_EMAIL_OR_USERNAME:YOUR_API_KEY"
Sample Response Payload
{
    "success": true,
    "code": 200,
    "message": "Bank accounts retrieved successfully.",
    "data": {
        "total": 1,
        "bank_accounts": [
            {
                "id": 14,
                "title": "Garanti TL Hesabım",
                "bank_name": "Garanti BBVA",
                "currency": "TRY",
                "account_owner": "Ahmet Yılmaz",
                "iban": "TR120006200000012345678901",
                "is_default": true
            }
        ]
    },
    "timestamp": 1718000000
}
POST /api/v1/wallet/bank-accounts Auth Required 30 req / min

Add Bank Account

Register a new IBAN payout account with format validation.

Request Code Example
curl -X POST "https://nedomain.com/api/v1/wallet/bank-accounts" \
  -H "Accept: application/json" \
  -u "YOUR_EMAIL_OR_USERNAME:YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d "{\"title\":\"\u0130\u015f Bankas\u0131 USD\",\"bank_name\":\"T\u00fcrkiye \u0130\u015f Bankas\u0131\",\"account_owner\":\"Ahmet Y\u0131lmaz\",\"iban\":\"TR640006400000198765432101\",\"currency\":\"USD\",\"is_default\":false}"
Sample Response Payload
{
    "success": true,
    "code": 201,
    "message": "Bank account added successfully.",
    "data": {
        "id": 15,
        "bank_name": "Türkiye İş Bankası",
        "iban": "TR640006400000198765432101"
    },
    "timestamp": 1718000000
}
DELETE /api/v1/wallet/bank-accounts/{id} Auth Required 30 req / min

Delete Bank Account

Remove a registered IBAN account (strictly IDOR protected).

Parameters
Field In Type Requirement Description
id query integer Required Bank account ID
Request Code Example
curl -X DELETE "https://nedomain.com/api/v1/wallet/bank-accounts/{id}" \
  -H "Accept: application/json" \
  -u "YOUR_EMAIL_OR_USERNAME:YOUR_API_KEY"
Sample Response Payload
{
    "success": true,
    "code": 200,
    "message": "Bank account removed successfully.",
    "data": {
        "id": 15,
        "deleted": true
    },
    "timestamp": 1718000000
}
POST /api/v1/wallet/withdraw Auth Required 10 req / min

Request Payout Withdrawal

Submit a withdrawal request to a saved bank account. Checks balance and KYC requirements.

Request Code Example
curl -X POST "https://nedomain.com/api/v1/wallet/withdraw" \
  -H "Accept: application/json" \
  -u "YOUR_EMAIL_OR_USERNAME:YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d "{\"amount\":5000,\"currency\":\"TRY\",\"bank_account_id\":14}"
Sample Response Payload
{
    "success": true,
    "code": 201,
    "message": "Withdrawal request submitted successfully.",
    "data": {
        "id": 62,
        "amount": 5000,
        "currency": "TRY",
        "status": "pending",
        "remaining_balance": 20400.5
    },
    "timestamp": 1718000000
}

Communications

5 Endpoints in this module

GET /api/v1/messages Auth Required 60 req / min

Inbox Conversations

Retrieve conversation list with domain listings and latest message preview.

Request Code Example
curl -X GET "https://nedomain.com/api/v1/messages" \
  -H "Accept: application/json" \
  -u "YOUR_EMAIL_OR_USERNAME:YOUR_API_KEY"
Sample Response Payload
{
    "success": true,
    "code": 200,
    "message": "Inbox conversations retrieved.",
    "data": {
        "total": 1,
        "conversations": [
            {
                "listing_id": 45,
                "domain_name": "startup.com",
                "other_party": {
                    "id": 18,
                    "name": "Can K."
                },
                "last_message": {
                    "body": "Is this domain still available?",
                    "is_read": true,
                    "created_at": 1718000000
                }
            }
        ]
    },
    "timestamp": 1718000000
}
GET /api/v1/messages/chat Auth Required 60 req / min

Chat History

Retrieve message thread with a specific user regarding a listing.

Parameters
Field In Type Requirement Description
with query integer Required Target user ID
listing query integer Required Listing ID
Request Code Example
curl -X GET "https://nedomain.com/api/v1/messages/chat" \
  -H "Accept: application/json" \
  -u "YOUR_EMAIL_OR_USERNAME:YOUR_API_KEY"
Sample Response Payload
{
    "success": true,
    "code": 200,
    "message": "Chat messages retrieved.",
    "data": {
        "listing": {
            "id": 45,
            "domain_name": "startup.com"
        },
        "other_party": {
            "id": 18,
            "name": "Can K."
        },
        "total_messages": 2,
        "messages": [
            {
                "id": 101,
                "sender_name": "Can K.",
                "is_me": false,
                "body": "Can you do 4,000 USD?"
            },
            {
                "id": 102,
                "sender_name": "John Doe",
                "is_me": true,
                "body": "I can accept 4,200 USD."
            }
        ]
    },
    "timestamp": 1718000000
}
POST /api/v1/messages Auth Required 30 req / min

Send Direct Message

Send a message to a buyer or seller regarding a listing.

Request Code Example
curl -X POST "https://nedomain.com/api/v1/messages" \
  -H "Accept: application/json" \
  -u "YOUR_EMAIL_OR_USERNAME:YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d "{\"listing_id\":45,\"receiver_id\":18,\"body\":\"Yes, 4,200 USD works for me.\"}"
Sample Response Payload
{
    "success": true,
    "code": 201,
    "message": "Message sent successfully.",
    "data": {
        "id": 103,
        "listing_id": 45,
        "receiver_id": 18
    },
    "timestamp": 1718000000
}
GET /api/v1/notifications Auth Required 60 req / min

List Notifications

Retrieve system, offer, and transaction alerts with unread count.

Parameters
Field In Type Requirement Description
unread query boolean Optional Set 1 to filter unread only
Request Code Example
curl -X GET "https://nedomain.com/api/v1/notifications" \
  -H "Accept: application/json" \
  -u "YOUR_EMAIL_OR_USERNAME:YOUR_API_KEY"
Sample Response Payload
{
    "success": true,
    "code": 200,
    "message": "Notifications retrieved.",
    "data": {
        "total": 5,
        "unread_count": 1,
        "notifications": [
            {
                "id": 312,
                "type": "new_offer",
                "title": "New Offer Received",
                "body": "You received an offer of 4,200 USD for startup.com",
                "is_read": false,
                "created_at": 1718000000
            }
        ]
    },
    "timestamp": 1718000000
}
POST /api/v1/notifications/mark-read Auth Required 60 req / min

Mark Notifications as Read

Mark all or a specific notification as read.

Request Code Example
curl -X POST "https://nedomain.com/api/v1/notifications/mark-read" \
  -H "Accept: application/json" \
  -u "YOUR_EMAIL_OR_USERNAME:YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d "{\"id\":312}"
Sample Response Payload
{
    "success": true,
    "code": 200,
    "message": "Notification marked as read.",
    "data": {
        "marked_read": true
    },
    "timestamp": 1718000000
}