Loading Discard API...

API v1.3.0 Now Available

Powerful API Suite

Advanced web scraping, temporary email services, and secure authentication - more then 500 features, all in one modern API platform

99.9%
Uptime
~200ms
Response
24/7
Support
1M+
Requests

Quick Start

Get started in seconds. Add your API key to any endpoint and receive structured JSON responses with comprehensive error handling.

Request Format

GET
https://discardapi.dpdns.org/api/endpoint?apikey=YOUR_KEY

Response Format

{
"status": true,
"creator": "Qasim Ali🩷",
"result": { ... }
}

Authentication

Secure API access with multiple authentication methods. Most endpoints require an API key, while mail services use bearer tokens for enhanced security.

Query Parameter

?apikey=YOUR_KEY

Standard method for most endpoints

Bearer Token

Authorization: Bearer TOKEN

For mail.tw integration

Common Error Codes

401 Please provide the apikey or Invalid apikey
403 This endpoint requires Special API key
400 Please provide the (query) e.g url
429 Rate limit exceeded, please wait until reset

Account Registration

1

Create Account

POST /auth/signup
{
  "name": "John Doe",
  "email": "john@example.com", 
  "password": "strongpassword123"
}
Response
{
  "status": true,
  "creator": "Qasim Ali🩷",
  "success": true,
  "message": "Verification code sent"
}
2

Verify Account

POST /auth/verify-signup
{
  "email": "john@example.com",
  "code": "123456"
}
Response (201)
{
  "status": true,
  "creator": "Qasim Ali🩷", 
  "success": true,
  "message": "Account created successfully",
  "api_key": "abcd1234efgh5678"
}

API Key Management

Check Usage

GET /api/key/check?key=YOUR_KEY
curl "https://discardapi.dpdns.org/api/key/check?key=YOUR_KEY"

Response

{
  "status": true,
  "creator": "Qasim Ali🩷",
  "message": "Key valid",
  "usage": 47,
  "limit": 200,
  "reset_in": "8 hours"
}

Get Key Details

GET /api/key/get?key=YOUR_KEY
curl "https://discardapi.dpdns.org/api/key/get?key=YOUR_KEY"

Key Metadata

{
       "creator":"Qasim Ali🩷",
       "key": "abcd1234efgh5678",
        "email":"someone@example.com",
       "last_reset":"2025-09-18T16:15:53Z",
       "limit":1000,
       "special":true,
       "status":true,
       "usage":0
}

mailtm Integration

Popular

Create temporary email addresses instantly. Perfect for testing, verification, and protecting your privacy. Our system generates randomized addresses using premium domains.

Instant Creation

Generate emails in milliseconds

Secure & Private

No logs, full encryption

Auto-Cleanup

Messages auto-delete after 24h

Get Domains

GET /mailtm/domains
"https://discardapi.dpdns.org/api/mailtm/domains?apikey=YOUR_KEY"
Response Format
{
  "creator":"Qasim Ali🩷",
"result":{"@context":"/contexts/Domain",
"@id":"/domains",
"@type":"hydra:Collection",
"hydra:member":[{"@id":"/domains/68caf5471dafae81a9e5d315",
"@type":"Domain",
"createdAt":"2025-09-17T00:00:00+00:00",
"domain":"tiffincrane.com",
"id":"68caf5471dafae81a9e5d315",
"isActive":true,
"isPrivate":false,
"updatedAt":"2025-09-17T00:00:00+00:00"}],
"hydra:totalItems":1},
"status":true
}

Create Mailbox

GET /mailtm/create
curl "https://discardapi.dpdns.org/mailtm/create?apikey=YOUR_KEY&domain=tiffincrane.com"
Response
{
  "creator":"Qasim Ali🩷",
  "result":{"@context":"/contexts/Account",
  "@id":"/accounts/68cd516f19dcf23ccc06b4e4",
  "@type":"Account",
  "address":"apajnd1l@tiffincrane.com",
  "createdAt":"2025-09-19T12:49:51+00:00",
  "id":"68cd516f19dcf23ccc06b4e4",
  "isDeleted":false,
  "isDisabled":false,
  "quota":40000000,
  "token":"eyJ0eXAiOiJKV1QiLCJhbGci.......",
  "updatedAt":"2025-09-19T12:49:51+00:00",
  "used":0},
  "status":true
}

Fetch Messages

GET /mailtm/messages
"https://discardapi.dpdns.org/mailtm/messages?page=1&token=sometoken......."
Message Format
{
  "status": true,
  "messages": [{
    "id": "msg_123",
    "from": "noreply@service.com",
    "subject": "Welcome!",
    "body": "Thanks for signing up...",
    "received": "2025-09-17T14:30:00Z"
  }]
}

Pro Tip

Store the token securely and use it for all subsequent message operations. Tokens are valid for 24 hours.

News Enpoints

Advanced

High-performance News Enpoints for news sites and content extraction.

TRT Headlines

Active

Real-time news headlines with metadata

GET /news/trt?apikey=YOUR_KEY

Sky Sports

Active

Television news updates and breaking stories

GET /news/skysports?sport=boxing&apikey=YOUR_KEY

AlJazeera English

Active

Headlines and full article extraction

GET /news/alJazeera?apikey=YOUR_KEY
GET /alJazeera/article?url=ARTICLE_URL&apikey=YOUR_KEY

CGTN World

Active

Headlines and full article extraction

GET /news/cgtn?apikey=YOUR_KEY
GET /cgtn/article?url=ARTICLE_URL&apikey=YOUR_KEY
~200ms
Avg Response
99.2%
Success Rate
24/7
Monitoring

Rate Limits

Flexible pricing tiers to match your usage needs. All limits reset every 24 hours at midnight UTC.

Free

200
requests/day
  • Basic endpoints
  • mailtm integration
  • Community support
Popular

Student

1K
requests/day
  • All endpoints
  • Priority support
  • Analytics dashboard
Popular

Premium

5K
requests/day
  • All endpoints
  • Priority support
  • Analytics dashboard

VIP

8K
requests/day
  • Dedicated support
  • Custom webhooks
  • SLA guarantee

Business

15K
requests/day
  • Dedicated support
  • Custom webhooks
  • SLA guarantee

Enterprise

Custom
Contact us
  • Unlimited requests
  • White-label option
  • Custom integration

Interactive Examples

Code Example

Expected Response

Live Response

Error Handling

Comprehensive error codes with detailed descriptions and resolution steps. All errors include helpful context and suggestions.

Authentication Errors

401 notparam

API key parameter missing

Add ?apikey=YOUR_KEY to your request

401 invalidKey

Invalid API key provided

Check your key or generate a new one

400 notquery

Some query parameters required

Please provided (query) e.g url

403 notspecial

Requires premium API key

Upgrade your account for access

Rate Limiting & System

429 limit

Rate limit exceeded

Wait for reset or upgrade plan

500 internal

Internal server error

Temporary issue, try again later

404 notfound

Endpoint or resource not found

Check the URL and parameters

Best Practices

Always check the status field before processing results

Implement exponential backoff for rate limit errors

Log error codes for debugging and monitoring

Handle network timeouts gracefully

Support & Contact

Get in Touch

Need help or want to upgrade? Our team is here to assist you with integration, troubleshooting, and custom solutions.

Email Support
discardapi@gmail.com
Live Chat
Available 9 AM - 6 PM EST
Documentation
GitHub Examples
< 1 hour
Premium Support
< 24 hours
Free Support

Quick Contact

Get Your API Key

Start building with our powerful API in seconds