Disqus API

Social / OAuth Advanced HTTPS
Varies by plan (check documentation)

Overview

The Disqus API gives developers access to Disqus commenting data, including posts, threads, forums, and user information. You can read public comment threads or perform authenticated actions like creating and moderating comments. OAuth 2.0 is used for actions that require user permissions, while public read operations can use just an API key.

💡

Beginner Tip

For read-only access to public forums, you only need an API key with no full OAuth flow required. Create a Disqus application at disqus.com/api/applications/ to get your public key and start reading data right away.

Available Data

Use case: Integrate communicate with disqus data data into web and mobile applications
Disqus data via REST API
JSON-formatted response data
Requires OAuth authentication

Example Response

JSON Response
{
  "status": "success",
  "data": {
    "result": "Data from Disqus",
    "description": "Communicate with Disqus data",
    "timestamp": "2025-01-15T10:00:00Z"
  }
}

Field Reference

code Response code where 0 means success and any other value indicates an error.
response Array of result objects (threads, posts, etc.) returned by the query.
id Unique identifier for the thread or post within Disqus.
title Title of the discussion thread as it appears in the Disqus widget.
posts Total number of approved comments in the thread.
author Object containing the author username, display name, and avatar URL.

Implementation Example

const url = "https://disqus.com/api/docs/auth/";
// Replace headers or query params with the values required by this API.
const response = await fetch(url, {
  headers: {
  "Authorization": "Bearer YOUR_API_KEY"
  }
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
const data = await response.json();
console.log(data);

What Can You Build?

Note: These code examples are AI-generated and unverified. Always refer to the official API documentation for accurate usage.

Common Errors & Troubleshooting

Invalid API key The api_key parameter is missing or does not match a registered Disqus application.
Create or verify your application at disqus.com/api/applications/ and copy the public key exactly.
403 You are not authorized to perform this action You are trying to perform a write or moderation action without a valid OAuth token.
Complete the OAuth 2.0 authorization flow to obtain an access token, then pass it as the access_token parameter.
Rate limit exceeded You have made more than 1,000 API calls per hour, which is the default limit.
Cache responses locally and reduce the polling frequency. Apply for a higher rate limit if your use case requires it.

Matrix Score Breakdown

🌐 Reachability 30/30
⚡ Speed 10/20
🔒 Security 15/15
🛠 Developer XP 3/20
✓ Reliability 10/15

Partially tested on Apr 5, 2026

Technical Specifications

Auth OAuth
HTTPS REQUIRED
CORS UNKNOWN
Category Social
Difficulty Advanced
Verified: 2026-04-04

Similar APIs

View All →