daily-dev Posts API

The posts API from daily-dev — 2 operation(s) for posts.

Operations 2

GET /posts/{id} Get post details #
GET /posts/{id}/comments Get post comments #

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/daily-dev:daily-dev-posts-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

daily-dev-posts-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Daily Dev Posts API
  version: 1.0.0
  description: 'Operations tagged posts across 2 of this provider''s published API definitions: daily-dev-openapi.json, daily-dev-openapi.json. Each path carries the servers of the definition it was published in.'
servers:
- url: https://api.daily.dev/public/v1
security:
- bearerAuth: []
tags:
- name: Posts
paths:
  /posts/{id}:
    get:
      operationId: getPostsId
      summary: Get post details
      tags:
      - Posts
      description: Get post details by ID
      parameters:
      - schema:
          type: string
        in: path
        name: id
        required: true
        description: Post ID
      security:
      - bearerAuth: []
      - oauth2:
        - read
      x-mcp-open-world: true
      responses:
        '200':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    $ref: '#/components/schemas/def-21'
        '401':
          description: Default Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/def-23'
        '403':
          description: Default Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/def-23'
        '404':
          description: Default Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/def-23'
    servers:
    - url: https://api.daily.dev/public/v1
  /posts/{id}/comments:
    get:
      operationId: getPostsIdComments
      summary: Get post comments
      tags:
      - Posts
      description: Get comments for a post
      parameters:
      - schema:
          type: integer
          default: 20
          maximum: 50
          minimum: 1
        in: query
        name: limit
        required: false
        description: Number of comments to return (1-50)
      - schema:
          type: string
        in: query
        name: cursor
        required: false
        description: Pagination cursor from previous response
      - schema:
          type: string
          enum:
          - oldest
          - newest
          default: oldest
        in: query
        name: sort
        required: false
        description: Sort order (oldest or newest first)
      - schema:
          type: string
        in: path
        name: id
        required: true
        description: Post ID
      security:
      - bearerAuth: []
      - oauth2:
        - read
      responses:
        '200':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/def-34'
                  pagination:
                    $ref: '#/components/schemas/def-22'
        '401':
          description: Default Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/def-23'
        '404':
          description: Default Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/def-23'
        '429':
          description: Default Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/def-24'
    servers:
    - url: https://api.daily.dev/public/v1
components:
  schemas:
    def-24:
      type: object
      properties:
        error:
          type: string
        message:
          type: string
        retryAfter:
          type: integer
        limit:
          type: integer
        duration:
          type: integer
      title: RateLimitError
    def-34:
      type: object
      properties:
        id:
          type: string
        content:
          type: string
        contentHtml:
          type: string
        createdAt:
          type: string
          format: date-time
        lastUpdatedAt:
          type:
          - string
          - 'null'
          format: date-time
        permalink:
          type: string
          format: uri
        numUpvotes:
          type: integer
        numAwards:
          type: integer
          description: Total number of awards on this comment
        author:
          $ref: '#/components/schemas/def-32'
        userState:
          $ref: '#/components/schemas/def-33'
        children:
          type: array
          items:
            $ref: '#/components/schemas/def-34'
          description: Nested replies to this comment
      title: Comment
    def-17:
      type:
      - object
      - 'null'
      properties:
        id:
          type: string
        name:
          type: string
        image:
          type:
          - string
          - 'null'
          format: uri
        username:
          type:
          - string
          - 'null'
      title: AuthorWithId
    def-0:
      type: object
      properties:
        id:
          type: string
        name:
          type: string
        handle:
          type: string
        image:
          type:
          - string
          - 'null'
          format: uri
      title: Source
    def-33:
      type:
      - object
      - 'null'
      properties:
        vote:
          type: integer
          description: User's vote on the comment (-1, 0, or 1)
      title: CommentUserState
    def-23:
      type: object
      properties:
        error:
          type: string
        message:
          type: string
      title: Error
    def-22:
      type: object
      properties:
        hasNextPage:
          type: boolean
        cursor:
          type:
          - string
          - 'null'
      title: Pagination
    def-32:
      type: object
      properties:
        id:
          type: string
        name:
          type: string
        username:
          type:
          - string
          - 'null'
        image:
          type:
          - string
          - 'null'
          format: uri
        permalink:
          type: string
          format: uri
      title: CommentAuthor
    def-21:
      type: object
      properties:
        id:
          type: string
        title:
          type: string
        url:
          type:
          - string
          - 'null'
          format: uri
        image:
          type:
          - string
          - 'null'
          format: uri
        summary:
          type:
          - string
          - 'null'
        type:
          type: string
          description: Post type (article, share, etc.)
        publishedAt:
          type:
          - string
          - 'null'
          format: date-time
        createdAt:
          type: string
          format: date-time
        commentsPermalink:
          type: string
          format: uri
        source:
          $ref: '#/components/schemas/def-0'
        author:
          $ref: '#/components/schemas/def-17'
        tags:
          type: array
          items:
            type: string
        readTime:
          type:
          - integer
          - 'null'
        numUpvotes:
          type: integer
        numComments:
          type: integer
        bookmarked:
          type: boolean
        content:
          type:
          - string
          - 'null'
          description: Content of the post (available for freeform and collection posts)
        userState:
          type:
          - object
          - 'null'
          properties:
            vote:
              type: integer
      title: PostDetail
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: Personal Access Token from https://daily.dev/settings/api
    oauth2:
      type: oauth2
      description: OAuth 2.0 access token for an app registered at https://daily.dev/settings/api. Request it with resource=https://api.daily.dev/public/v1.
      flows:
        authorizationCode:
          authorizationUrl: https://api.daily.dev/auth/oauth2/authorize
          tokenUrl: https://api.daily.dev/auth/oauth2/token
          refreshUrl: https://api.daily.dev/auth/oauth2/token
          scopes:
            read: Read your daily.dev data
            write: Change your daily.dev data
x-refined-from:
- daily-dev-openapi.json
- daily-dev-openapi.json