Work with this as data
Every API here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for apis
7 MCP tools reach this
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This API
curl "https://apis.io/api/v1/apis/tweetsmash-com:tweetsmash-com-smart-views-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
OpenAPI Specification
openapi: 3.2.0
info:
title: Tweetsmash Smart views API
version: 1.0.0
summary: Read, label, filter and export your saved X (Twitter) posts.
description: 'The Tweetsmash REST API returns the X (Twitter) posts a user has saved to Tweetsmash, as JSON with unrolled threads and labels, and lets a caller label, filter and export them.
It reads only the authenticated account''s own saved posts. It cannot search public X, and it cannot post, reply, like or follow.
Authentication is a Bearer API key created at https://www.tweetsmash.com/integrations/api. See https://www.tweetsmash.com/auth.md.
The same account is also reachable over the Model Context Protocol at https://mcp.tweetsmash.com/api/mcp — see https://www.tweetsmash.com/.well-known/mcp/server-card.json.
Versioning: the version lives in the path (/v1). Inside a version we will not remove or rename a field, change a field''s type, remove an endpoint, or add a required parameter. New fields, new optional parameters, new error codes and new enum values are non-breaking and can appear at any time. A deprecated endpoint keeps working and starts answering with Deprecation and Sunset headers plus a Link rel="deprecation" pointing at the replacement, with at least 180 days between the two dates. See https://www.tweetsmash.com/developers#versioning.'
termsOfService: https://www.tweetsmash.com/terms
contact:
name: Tweetsmash Support
email: support@tweetsmash.com
url: https://www.tweetsmash.com/contact
license:
name: Proprietary
url: https://www.tweetsmash.com/terms
servers:
- url: https://api.tweetsmash.com/v1
description: Production. Reads and writes the authenticated account.
- url: https://api.tweetsmash.com/v1/sandbox
description: Sandbox. Same shapes, fixture data, no API key required. Reads and writes nothing. Send X-Tweetsmash-Sandbox-Error to force a specific failure.
security:
- bearerAuth: []
tags:
- name: Smart views
description: Saved filters over the library.
paths:
/views:
get:
operationId: ListSmartViews
summary: List Smart Views
description: List all of your Smart Views (saved filtered views). Each view has a slug used to read its bookmarks or manage it. POST to the same path (name, base_query) to create one.
externalDocs:
description: Endpoint documentation
url: https://www.tweetsmash.com/api-docs/list-smart-views
responses:
'200':
description: Success.
content:
application/json:
schema:
$ref: '#/components/schemas/ApiResponse'
example:
status: true
data:
- id: '1'
slug: reading-workflow
name: Reading Workflow
base_query: ''
triage_buckets: null
default_sort: null
'401':
$ref: '#/components/responses/Unauthorized'
'402':
$ref: '#/components/responses/PaymentRequired'
tags:
- Smart views
parameters:
- $ref: '#/components/parameters/SandboxError'
/views/{slug}:
get:
operationId: GetSmartView
summary: Get / Update / Delete a Smart View
description: Get a single Smart View by slug. PUT the same path to update it (name, base_query, triage_buckets, default_sort); DELETE to remove it.
externalDocs:
description: Endpoint documentation
url: https://www.tweetsmash.com/api-docs/get-smart-view
parameters:
- name: slug
in: path
required: true
schema:
type: string
description: Smart view slug.
- $ref: '#/components/parameters/SandboxError'
responses:
'200':
description: Success.
content:
application/json:
schema:
$ref: '#/components/schemas/ApiResponse'
example:
status: true
data:
id: '1'
slug: reading-workflow
name: Reading Workflow
base_query: ''
'404':
description: No such resource for this account.
content:
application/json:
schema:
$ref: '#/components/schemas/ApiError'
example:
status: false
code: NOT_FOUND
error: Smart view not found
'401':
$ref: '#/components/responses/Unauthorized'
'402':
$ref: '#/components/responses/PaymentRequired'
tags:
- Smart views
/views/{slug}/bookmarks:
get:
operationId: GetSmartViewBookmarks
summary: Get Smart View Bookmarks
description: List the bookmarks inside a Smart View. Use the `bucket` query parameter to read a specific tab/bucket of the view. Paginated like /v1/bookmarks.
externalDocs:
description: Endpoint documentation
url: https://www.tweetsmash.com/api-docs/get-smart-view-bookmarks
parameters:
- name: slug
in: path
required: true
schema:
type: string
description: Smart view slug.
- name: bucket
in: query
required: false
description: Which tab/bucket of the view to read. Defaults to all.
schema:
type: string
- name: limit
in: query
required: false
description: Page size (1-100). Default 20.
schema:
type: integer
- name: cursor
in: query
required: false
description: Numeric offset for the next page.
schema:
type: integer
- $ref: '#/components/parameters/SandboxError'
responses:
'200':
description: Success.
content:
application/json:
schema:
$ref: '#/components/schemas/ApiResponse'
example:
status: true
data: []
meta:
limit: 20
bucket: all
next_cursor: 20
has_more: true
'401':
$ref: '#/components/responses/Unauthorized'
'402':
$ref: '#/components/responses/PaymentRequired'
tags:
- Smart views
components:
responses:
Unauthorized:
description: Missing, malformed or revoked API key.
content:
application/json:
schema:
$ref: '#/components/schemas/ApiError'
example:
status: false
code: UNAUTHORIZED
error: Unauthorized
PaymentRequired:
description: The account is on a plan that does not include this endpoint.
content:
application/json:
schema:
$ref: '#/components/schemas/ApiError'
example:
status: false
code: SUBSCRIPTION_REQUIRED
error: A paid plan is required.
schemas:
ApiResponse:
type: object
required:
- status
properties:
status:
type: boolean
const: true
data:
description: The endpoint payload.
message:
type: string
next_cursor:
type:
- string
- 'null'
description: Pass back as `cursor` to fetch the next page.
meta:
type: object
description: Non-payload extras such as a human-readable message or paging counts.
additionalProperties: true
ApiError:
type: object
required:
- status
- code
properties:
status:
type: boolean
const: false
code:
type: string
enum:
- UNAUTHORIZED
- SUBSCRIPTION_REQUIRED
- FILTER_NOT_ALLOWED
- PAGINATION_NOT_ALLOWED
- VECTOR_SEARCH_NOT_ALLOWED
- INVALID_REQUEST
- NOT_FOUND
- RATE_LIMITED
- INTERNAL_ERROR
description: Machine-readable error code. Do not retry on UNAUTHORIZED.
error:
type: string
description: Human-readable message.
message:
type: string
description: Human-readable message.
upgrade_url:
type: string
format: uri
description: Where the user upgrades to unlock this endpoint.
parameters:
SandboxError:
name: X-Tweetsmash-Sandbox-Error
in: header
required: false
description: Sandbox server only. Forces the sandbox to answer with a specific failure so a client can test its error handling without an account.
schema:
type: string
enum:
- unauthorized
- subscription_required
- filter_not_allowed
- pagination_not_allowed
- invalid_request
- not_found
- rate_limited
- server_error
securitySchemes:
bearerAuth:
type: http
scheme: bearer
description: 'API key created at https://www.tweetsmash.com/integrations/api, sent as `Authorization: Bearer <key>`.'
externalDocs:
description: API reference
url: https://www.tweetsmash.com/api-docs