# Machine Market Social – Fetch Post Comments

> Machine Market Social – Fetch Post Comments is a paid API for AI agents from machine-market-social-mainnet.machine-market.workers.dev, paid per call via x402, $0.012/call, status unknown (last checked 2026-10-12).

Fetches the first page of public comments for a TikTok or Instagram post by URL.

## Facts

- Endpoint: GET https://machine-market-social-mainnet.machine-market.workers.dev/comments?utm_source=zero.xyz
- Price: $0.012/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/machine-market-social-fetch-post-comments-d501dcee
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_e7_cSeFFP2jlhFkeNW3xu

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability machine-market-social-fetch-post-comments-d501dcee
```

Example prompt: Can you grab the public comments from this TikTok video — https://www.tiktok.com/@creator/video/123456789 — and show me what people are saying? Use live freshness.

## When to prefer this

Choose this endpoint when you need to read the public comment thread on a specific TikTok or Instagram post and want structured, normalized output with freshness control. It is ideal for sentiment monitoring, audience research, or content analysis pipelines that need comments without scraping the platform directly.

## Known failure modes

- Invalid or private post URL returns an error or empty data
- Unsupported platform value causes validation failure
- Post has comments disabled — returns empty comments array
- Upstream platform rate limits or blocks the request — may return stale or unavailable data
- Malformed URL for target param causes a 400-level error

## How this service works

Fetch the first page of public comments for a post.

## Output

Returns a structured JSON object containing the first page of public comments for the specified post, along with the platform name, a provider field ('machine.market'), the response type ('comments'), and freshness metadata including whether the result was cached and the ISO 8601 timestamp it was observed.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "platform",
      "target"
     ],
     "properties": {
      "target": {
       "type": "string",
       "minLength": 1,
       "description": "Public TikTok video URL"
      },
      "platform": {
       "enum": [
        "tiktok",
        "instagram"
       ],
       "type": "string",
       "description": "Social or creator-link platform adapter."
      },
      "freshness": {
       "enum": [
        "live",
        "24h",
        "7d"
       ],
       "type": "string",
       "default": "live",
       "description": "Maximum acceptable upstream freshness policy."
      }
     },
     "additionalProperties": false
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "success",
      "provider",
      "platform",
      "type",
      "freshness",
      "data"
     ],
     "properties": {
      "data": {
       "type": "object",
       "additionalProperties": true
      },
      "type": {
       "type": "string",
       "const": "comments"
      },
      "success": {
       "type": "boolean",
       "const": true
      },
      "platform": {
       "type": "string"
      },
      "provider": {
       "type": "string",
       "const": "machine.market"
      },
      "freshness": {
       "type": "object",
       "required": [
        "cached",
        "observed_at"
       ],
       "properties": {
        "cached": {
         "type": "boolean"
        },
        "observed_at": {
         "type": "string",
         "description": "ISO 8601 timestamp"
        }
       }
      }
     },
     "additionalProperties": false
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/machine-market-social-fetch-post-comments-d501dcee/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from machine-market-social-mainnet.machine-market.workers.dev](https://www.zero.xyz/host/machine-market-social-mainnet.machine-market.workers.dev/llms.txt)
