textstackoverflowprogrammingq-and-anlpcode-corpus

Stack Overflow Posts Markdown

before June 14, 2023

Free

Open dataset

Sample structure: 82.8 / 100
4 download links issued
Seller: DataBazaar
Sign up to download

Already have an account? Log in

Agent? Connect your account →

Category
Text
Records
58,329,355 rows
Format
PARQUET
Update Frequency
Not documented
Collection Method
auto_imported_huggingface_federated
PII
No flagged field names; not a privacy audit
File Size
~32481.81 MB
Download links issued
4

Source, license and coverage

Supplier documentation. These claims are separate from the automated sample score. A listing edit date is not a data freshness date.

License
Per-post license in ContentLicense
Source / creator
huggingface: mikex86/stackoverflow-posts
Collection method
auto_imported_huggingface_federated
Coverage / snapshot
before June 14, 2023
Data last updated
Not documented
Update schedule
Not documented

Source documentation ↗

License terms ↗

Custom source terms apply; see the linked source license section. "Other" is not a grant of unrestricted reuse. Each post’s ContentLicense field identifies its terms; no blanket license is assigned.

Sample structure score: 82.8 / 100

This automated check describes the inspected sample, not factual accuracy, legal rights, representativeness, or the quality of the entire dataset. It is not a customer rating.

Assessed 10 sample records (JSON) on 2026-10-09. All records in the provided sample were checked.

CheckPointsEvidence
Populated cells32.8 / 50105 of 160 top-level cells contain a value. Null, absent and blank values count as missing; zero and false count as populated.
Consistent value types30 / 30105 of 105 populated cells match their column's most common observed type. Types are inferred, not checked against real-world truth.
Consistent record shape20 / 2010 of 10 records have the expected fields. CSV/TSV use the header width; JSON uses the union of observed keys.
Field-level findings and improvements

Check missing cells and mixed types below. Document intentional missing values or mixed types in your field descriptions. Do not fill legitimate unknowns with invented values just to increase this score.

FieldMissing cellsMost common typeOther populated types
Id0 / 10number0 / 10
PostTypeId0 / 10number0 / 10
AcceptedAnswerId7 / 10number0 / 3
ParentId5 / 10number0 / 5
Score0 / 10number0 / 10
ViewCount5 / 10number0 / 5
Body0 / 10string0 / 10
Title5 / 10string0 / 5
ContentLicense0 / 10string0 / 10
FavoriteCount10 / 10unknown0 / 0
CreationDate0 / 10string0 / 10
LastActivityDate0 / 10string0 / 10
LastEditDate9 / 10string0 / 1
LastEditorUserId9 / 10number0 / 1
OwnerUserId0 / 10number0 / 10
Tags5 / 10object0 / 5
How the score is calculated, its limitations, and how to correct an assessment →

About this data

Questions and answers with scores, tags, view counts, creation and edit timestamps. Includes full post metadata for each record.

Retrieve with your agent or Python

Create an account and configure DATABAZAAR_API_KEY. This example retrieves free or already purchased data; it never makes a purchase. For a multi-file dataset, choose a file index from the manifest.

Download the Python example
python3 retrieve-dataset.py 8a46aed4-0087-4ddd-80e3-988251d386b9 --output dataset.bin
Full supplier documentation
Every Stack Overflow post submitted before June 14, 2023 — roughly 58 million questions and answers (~35 GB) formatted as Markdown. Includes scores, tags, view counts, creation/edit timestamps, and full post metadata.

Schema

NameTypeDescription
IdBIGINT
PostTypeIdBIGINT
AcceptedAnswerIdBIGINT
ParentIdBIGINT
ScoreBIGINT
ViewCountBIGINT
BodyVARCHAR
TitleVARCHAR
ContentLicenseVARCHAR
FavoriteCountBIGINT
CreationDateVARCHAR
LastActivityDateVARCHAR
LastEditDateVARCHAR
LastEditorUserIdBIGINT
OwnerUserIdBIGINT
TagsVARCHAR[]

Sample Data

Preview a sample of the data before downloading.

Public sample only. Sign in to retrieve the full dataset, including free datasets.

For AI Agents

Via MCP Server
# 1. Add to your agent's MCP config (claude_desktop_config.json or similar):
{
  "mcpServers": {
    "databazaar": { "command": "npx", "args": ["databazaar-mcp"] }
  }
}

# 2. Your agent can then call:
search_datasets({ query: "Stack Overflow Posts Markdown" })
// Found: 8a46aed4-0087-4ddd-80e3-988251d386b9
get_download_url({ dataset_id: "8a46aed4-0087-4ddd-80e3-988251d386b9" })  // free — sign in with MCP OAuth first
Via REST API
# Free dataset — sign in or use your account API key:
curl https://api.databazaar.io/datasets/8a46aed4-0087-4ddd-80e3-988251d386b9/download-url -H "Authorization: Bearer $DATABAZAAR_API_KEY"