# note Post Details API

> One post from note.com by URL, with title, full text, hashtags, category and images.

- Page: https://cleanedweb.com/catalog/note-post-details-api/
- Contract (JSON): https://cleanedweb.com/catalog/note-post-details-api/contract.json
- Source: note.com (https://note.com/)
- Category: Social & communities
- Updated: 2026-11-20

A run reads the one page you name and returns its record; `max_items`, `timeout_seconds` and your budget still bound it.

## Key fields

| Field | Type | Sample value |
| --- | --- | --- |
| `title` | string | `AIで物語をつくってみたら、ルビーとルナの冒険が始まった話` |
| `category` | string | `フィクションマンガ` |
| `hashtag` | array of string | `# エッセイ, # ChatGPT, # つくってみた, # AIと始めてみた, # AI生成, # AI絵本, # 創作の記録` |
| `text` | string | `こんにちは、椿みきこ🌸季節の花ごよみです。` |
| `url` | string | `https://note.com/hirata_mikiko60/n/nc6da64b07945` |
| `image_url` | string | `https://assets.st-note.com/production/uploads/images/333246165/rectangle_large_type_2_1ebebd0c551803301defe956f1ee6e50.png?fit=bounds&quality=85&width=1280` |
| `pictures` | array of string | `https://assets.st-note.com/img/1794270494-YTMFGSc4XwngaB8RtEUlqIZ3.png, https://assets.st-note.com/img/1794031381-FBJgTQRfXw7DUuhptiExsSMj.png, https://assets.st-note.com/img/1794029888-BsK4AY6FjRVC32ktPh5fu7eT.png, https://assets.st-note.…` |

Sample values come from one saved record, not a live run. Every field with its type, and the schemas, are in https://cleanedweb.com/catalog/note-post-details-api/contract.json

## Inputs

- `url` (string, required): Paste the URL of a note.com page of the same kind as the sample: its path looks like /{slug}/n/{code}. Any such page works, not only the one the API was built from.
- `urls` (array of string): Pages of that kind (1 to 50 in all, with url): one record each, in this order, once per page; a call may give urls and no url. A page that fails (off the pattern, unreadable, no product data) is told by its code in the run's metadata (item_pages) and does not fail the run while another page is read.

## Request

`POST https://api.cleanedweb.com/v1/catalog/public/apis/generated_08de590430ed126444870a75/endpoints/generated_08de590430ed126444870a75_search/run`

```bash
curl -X POST https://api.cleanedweb.com/v1/catalog/public/apis/generated_08de590430ed126444870a75/endpoints/generated_08de590430ed126444870a75_search/run \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Idempotency-Key: UNIQUE_REQUEST_ID" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "url": "https://note.com/hirata_mikiko60/n/nc6da64b07945"
  },
  "version": 1,
  "max_items": 25
}'
```

Send an `Idempotency-Key` header with every run and save it before you send. Reuse it only to retry the same request. If the run does not end within `wait_seconds`, read the result with the same API key and key:

`GET https://api.cleanedweb.com/v1/catalog/public/apis/generated_08de590430ed126444870a75/endpoints/generated_08de590430ed126444870a75_search/result`

## Versions

Current: `1.0`. Pin a major with "version": N in the run body (an integer). Leave it out and the call runs on the latest major. A sunset major runs on the latest major and the response says rerouted. An unknown major answers 404 catalog_version_not_found and lists the available majors.

- v1: current, newest minor `1.0`

### Changelog

- `1.0` (major) 2026-11-19

The same changelog, as data, is in https://cleanedweb.com/catalog/note-post-details-api/contract.json

## Use it from an AI agent

MCP server: https://api.cleanedweb.com/mcp?profile=catalog (Streamable HTTP). Sign in with a CleanedWeb account when the client asks (OAuth), or send an API key with the `read` and `run` scopes as `Authorization: Bearer`. Call `get_api` with `api_id` `generated_08de590430ed126444870a75`, then `run_api` with the `run_with` arguments it returns. See https://cleanedweb.com/docs/mcp/

## Run it

Reading the catalog needs no credential. Running needs a CleanedWeb account and an API key with the `run` scope; the first 5,000 records are free, then $1 per 1,000 records. See https://cleanedweb.com/docs/run-catalog-api/

CleanedWeb is not affiliated with note.
