Skip to content
Scrappa Get API key
MyDealz API 1 credit / request

MyDealz Comments API Documentation

GET https://scrappa.co/api/mydealz/comments

GET /api/mydealz/mydealz.comments Returns public comments on a deal with author, ISO 8601 date and the cursors.next.after value for the next page. Pass the deal_id from another MyDealz endpoint unchanged.

Credits

A successful request costs 1 credit. Errors and challenges cost nothing. Clients are never rate limited.

MyDealz Comments API Documentation 1 credit / request

Endpoint

Request preview
GET
https://scrappa.co/api/mydealz/comments
Auth header
x-api-key
Cost
1 credit / request
id = 2877615
Response preview
200 OK
{
    "data": [],
    "messages": [],
    "validation": [],
    "additional_data": {
        "billable": true,
        "credits_charged": 1,
        "endpoint_family": "comments"
    }
}

Parameters

Start with the required fields, then add optional filters only when your use case needs them.

Runnable path

1 required parameter needed before sending a request.

3 optional filters available.

id string Required

Deal id from another MyDealz endpoint. Required.

Example value 2877615
after string Optional

Opaque REST cursor from a previous response.

Example value example
sort string Optional

newest_first, oldest_first or top.

Example value relevance
limit integer Optional

Comments per page, 1 to 50.

Example value 5

Response Schema

Example response fields are illustrative; inspect the JSON before integrating.

Example response fields

Scan these fields before integrating.

data messages validation additional_data
JSON Response
200 OK
{
    "data": [],
    "messages": [],
    "validation": [],
    "additional_data": {
        "billable": true,
        "credits_charged": 1,
        "endpoint_family": "comments"
    }
}

Errors

Handle these documented responses before retrying or showing customer-facing failures.

404

Not Found

The deal does not exist. Non-billable.

{
    "data": null,
    "messages": [
        "The deal was not found."
    ],
    "additional_data": {
        "billable": false,
        "credits_charged": 0,
        "endpoint_family": "comments"
    }
}
422

Validation Error

A query parameter is missing, unknown or invalid. Unknown parameters are rejected, never ignored. Non-billable.

{
    "errors": {
        "id": [
            "The id field is required."
        ]
    },
    "message": "The request validation failed"
}
503

Upstream Unavailable

The public source could not be reached or answered with a challenge. Retryable and never billed. Clients are never rate limited.

{
    "data": null,
    "messages": [
        "MyDealz request failed."
    ],
    "additional_data": {
        "billable": false,
        "credits_charged": 0,
        "endpoint_family": "comments"
    }
}

Generate Code with AI

Copy a ready-made prompt with all the endpoint details, parameters, and example responses. Paste it into ChatGPT, Claude, or any AI assistant to instantly generate working code.

Try It Live

Test this endpoint in our interactive playground with real data.