Tweetsmash Bookmarks API

Read the posts a user has saved.

GitHub OpenAPI

Operations 2

GET /bookmarks Fetch Saved Posts #
GET /bookmarks/{id} Get a Bookmark (full content) #

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.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/tweetsmash-com:tweetsmash-com-bookmarks-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

tweetsmash-com-bookmarks-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Tweetsmash Bookmarks 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: Bookmarks
  description: Read the posts a user has saved.
paths:
  /bookmarks:
    get:
      operationId: FetchSavedPosts
      summary: Fetch Saved Posts
      description: Retrieve all the bookmarks that you've created. You can use the query parameters to filter and paginate results. When a saved post is (or quotes) an X Article, `tweet_details.article` contains the article object (title, plain_text, cover image and related metadata); it is `null` for regular posts.
      externalDocs:
        description: Endpoint documentation
        url: https://www.tweetsmash.com/api-docs/fetch-saved-posts
      parameters:
      - name: limit
        in: query
        required: false
        description: The maximum number of bookmarks to return. Default is 20, maximum is 100.
        schema:
          type: integer
      - name: cursor
        in: query
        required: false
        description: Cursor for pagination. Use the next_cursor value from a previous response.
        schema:
          type: string
      - name: is_unread_only
        in: query
        required: false
        description: Filter by unread status. Default is true.
        schema:
          type: boolean
      - name: hide_archived
        in: query
        required: false
        description: Filter by archived status. Default is true (hides archived bookmarks).
        schema:
          type: boolean
      - name: media_type
        in: query
        required: false
        description: Filter by media type (e.g., 'article', 'video', 'image').
        schema:
          type: string
      - name: author
        in: query
        required: false
        description: Filter by author name.
        schema:
          type: string
      - name: tag
        in: query
        required: false
        description: Filter by tag.
        schema:
          type: string
      - name: posted_from
        in: query
        required: false
        description: Filter bookmarks posted after this date/time (ISO 8601 format).
        schema:
          type: string
      - name: posted_to
        in: query
        required: false
        description: Filter bookmarks posted before this date/time (ISO 8601 format).
        schema:
          type: string
      - name: bookmarked_from
        in: query
        required: false
        description: Filter bookmarks created after this date/time (ISO 8601 format).
        schema:
          type: string
      - name: bookmarked_to
        in: query
        required: false
        description: Filter bookmarks created before this date/time (ISO 8601 format).
        schema:
          type: string
      - name: sort_by
        in: query
        required: false
        description: Field to sort by (e.g., 'created_at', 'title').
        schema:
          type: string
      - name: sort_cursor
        in: query
        required: false
        description: Value of the sort field from the last item of the previous page, used for stable sorting with pagination.
        schema:
          type: string
      - name: q
        in: query
        required: false
        description: Search query to filter bookmarks by title or content.
        schema:
          type: string
      - name: vector_search_term
        in: query
        required: false
        description: Semantic search term for finding relevant bookmarks using vector search.
        schema:
          type: string
      - $ref: '#/components/parameters/SandboxError'
      responses:
        '200':
          description: Success.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiResponse'
              example:
                status: true
                data:
                - post_id: '1938682607145034084'
                  tweet_details:
                    text: "friendly reminder: productizing AI agents is the biggest zero-to-one play on the internet right now.\n\nstep 1\n\nstart with the workflow. open someone's \"how-to\" loom, watch for any section where the mouse repeats itself for more than 30 seconds. that is your extraction point. i call this step looking for drudge. \n\nstep 2\n\nadd the context. scrape the internal FAQ, the tribal acronyms, the edge-case screenshots that a general LLM will never see. that proprietary mess formatted into plain text or json is your first moat. sometimes you need an audience for this. it helps. usually i create an audience/community to start.\n\nstep 3\n\nwire up an agent on an LLM or agent platform: claude, gpt-4o, gemini, lindy, string dot com. keep the prompt brutal-simple: \"given this context and that input, return this output.\" test until the agent's average response time beats the human baseline by 10×. keep refining prompt, it will get longer, longer and more valuable. never share that prompt with anyone.\n\nstep 4\n\nwrap the agent in the thinnest UI possible. one drop zone, one action button, one log window that says \"done.\" hide the settings; hide the model; hide the magic. outcome is the only feature. make a brand people fall in love with.\n\nstep 5\n\nprice the saved hours. take the median hourly cost of the person who used to run the workflow, multiply by the time you shave off each week, and anchor the subscription somewhere south of pain but north of hobby.\n\nstep 6\n\nship video proof before a landing page. record old way vs. new way in a split-screen clip; caption it; post it where the operators hang out. every \"how did you do that?\" reply is a warm lead. you can use platforms like lindy ai etc to do cold dm/email automation.\n\nstep 7\n\nloop usage back into the context file. new ticket? new edge case? append it. your agent improves without code, and the context corpus becomes asset #2.\n\nstep 8\n\nlayer distribution inside the product. add a quiet \"powered by\" footer on every output, or trigger a shareable report by default. users spread the gospel while you sleep.\n\nstep 9\n\nwhen churn stabilizes and support tickets hit near-zero, bolt on adjacent micro-agents each with its own promise, its own subscription tier, no extra complexity in the UI.\n\nstep 10\n\nignore vanity metrics. screenshots of ARR can be faked (and are constantly). My favorite was watching someone screenshot test payments. Literally fake money lol. \n\nAnyways, time returned to a paying customer cannot be faked. compound that saved time across niches until you own a stack of invisible employees.\n\nyou own a portfolio of little products that save people time and you get paid for it. the market for this is in the billions.\n\ndo this on repeat and you won't need funding, permission, or glossy charts.\n\nyou will be free and be creating impact.\n\nthis is probably one of the biggest opportunities out there."
                    link: https://twitter.com/gregisenberg/status/1938682607145034084
                    posted_at: '2025-06-27T19:35:27+00:00'
                    attachments: []
                    article: null
                    quoted_tweet: null
                    meta:
                      tweet_reply_to_tweet_id: null
                      tweet_reply_to_user_id: null
                      tweet_conversation_id: '1938682607145034084'
                      tweet_is_thread: false
                      is_sub_tweet_of_thread: false
                      non_real_time_engagement_metrics:
                        quote_count: 17
                        reply_count: 86
                        retweet_count: 172
                        bookmark_count: 5352
                        favorite_count: 2299
                  author_id: '14642331'
                  author_username: gregisenberg
                  author_details:
                    name: GREG ISENBERG
                    username: gregisenberg
                    profile_image: https://pbs.twimg.com/profile_images/1577116785656139776/5mi0qgTz_normal.jpg
                  tags: null
                  is_read: false
                  is_archived: false
                  imported_at: '2025-06-29T12:55:13.596508'
                  sort_index: 1836198123519712800
                meta:
                  next_cursor: MTc1OTYxNw==
                  limit: 1
                  total_count: 396
        '401':
          description: Missing, malformed or revoked API key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
              example:
                status: false
                code: UNAUTHORIZED
                error: ''
                message: Unauthorized
        '402':
          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: ''
                message: Subscription Required
                upgrade_url: https://www.tweetsmash.com/pricing
      tags:
      - Bookmarks
  /bookmarks/{id}:
    get:
      operationId: GetBookmark
      summary: Get a Bookmark (full content)
      description: Retrieve a single bookmark with its FULL content. By default the response includes the X Article body, the unrolled thread, and notes; use the `include` query parameter to narrow or add replies. The extra content is returned under `full_content`.
      externalDocs:
        description: Endpoint documentation
        url: https://www.tweetsmash.com/api-docs/get-bookmark
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
        description: Bookmark id.
      - name: include
        in: query
        required: false
        description: 'Comma-separated list of extra content to include: article,thread,notes,replies. Defaults to article,thread,notes.'
        schema:
          type: string
      - $ref: '#/components/parameters/SandboxError'
      responses:
        '200':
          description: Success.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiResponse'
              example:
                status: true
                data:
                  post_id: '1938682607145034084'
                  tweet_details: {}
                  full_content:
                    article_text: null
                    notes: null
                    thread: []
        '401':
          description: Missing, malformed or revoked API key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
              example:
                status: false
                code: UNAUTHORIZED
                error: ''
                message: Unauthorized
        '404':
          description: No such resource for this account.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
              example:
                status: false
                code: NOT_FOUND
                error: Bookmark not found
        '402':
          $ref: '#/components/responses/PaymentRequired'
      tags:
      - Bookmarks
components:
  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.
  responses:
    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.
  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