Loading Discard API...

API v1.3.0 Now Available

Powerful API Suite

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

Free API Key

qasim

Use this free key to get started. For premium features and higher limits, contact us

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=qasim-dev

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=qasim-dev

Standard method for most endpoints

Bearer Token

Authorization: Bearer TOKEN

For mail.tw integration

Common Error Codes

401 Invalid apikey
403 Requires Special key
400 Missing query param
429 Rate limit exceeded

API Key Management

Check Usage

GET /api/key/check?key=YOUR_KEY
curl https://discardapi.dpdns.org/api/key/check?key=qasim-dev

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=qasim-dev

Key Metadata

{
  "creator": "Qasim Ali🩷",
  "key": "qasim-dev",
  "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
curl https://discardapi.dpdns.org/api/mailtm/domains?apikey=qasim-dev

Create Mailbox

GET /mailtm/create
curl https://discardapi.dpdns.org/api/mailtm/create?apikey=qasim-dev&domain=tiffincrane.com

Pro Tip

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

News Endpoints

Advanced

High-performance news endpoints for news sites and content extraction.

TRT Headlines

Active

Real-time news headlines with metadata

GET /news/trt?apikey=qasim-dev

Sky Sports

Active

Television news updates and breaking stories

GET /news/skysports?sport=boxing&apikey=qasim-dev

AlJazeera English

Active

Headlines and full article extraction

GET /news/alJazeera?apikey=qasim-dev
GET /alJazeera/article?url=ARTICLE_URL&apikey=qasim-dev

CGTN World

Active

Headlines and full article extraction

GET /news/cgtn?apikey=qasim-dev
GET /cgtn/article?url=ARTICLE_URL&apikey=qasim-dev
~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. Contact us for premium keys.

Free

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

Premium

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

Enterprise

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

Interactive Examples

Code Example

Expected 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=qasim-dev to your request

401 invalidKey

Invalid API key provided

Check your key or contact support

400 notquery

Some query parameters required

Please provide required parameters e.g url

403 notspecial

Requires premium API key

Contact us for premium 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 to premium? Our team is here to assist you with integration, troubleshooting, and custom solutions.

Email Support
discardapi@gmail.com
Documentation
GitHub Examples
< 1 hour
Premium Support
< 24 hours
Free Support

Quick Contact