APIDataScrapers

scrapecreators: search

Search for scrapecreators: with the Reddit API. Supply a subreddit. Sample fields include comments and authors. Use it to surface relevant records in a search or discovery tool. The GET request schema also lists query, sort. Use the results to organize a research workflow and cross-check the relevant source records.

Selected price
$0.00188 / callPublished pricing
Sellers / APIs
1 / 1
Requests · 30d
—Loading...
Success rate · 30d
—Loading...
USE THIS API

scrapecreators: search

Prepare your request, then continue with your agent.

Selected price

$0.00188 / call

Provider
API
Pricing
Connect your agent
On this page

Playground

Run sends a real API request. Charges follow the published API contract.

Request parameters
Subreddit name (e.g. 'Fitness', not 'r/Fitness' or a full URL)
Optional parameters (4)
Search query to find matching content
Sort order. For posts/media: relevance, hot, top, new, comments. For comments: relevance, top, new
Timeframe to filter results
Cursor to get more results. Get 'cursor' from previous response.

Sample response

"comments": [
  {
    "author": "Philser23",
    "author_avatar": null,
    "author_nsfw": false,
    "body": "On the 30th my girlfriend out of the blue decided her new year's resolution would be to start going to the gym. I was so excited since none of my partners ever shared the fitness hobby with me.",
    "body_html": "<p>On the 30th my girlfriend out of the blue decided her new year's resolution would be to start going to the gym...</p>",
    "created_at": "2026-01-03T11:26:02.434000+0000",
    "created_at_iso": "2026-01-03T11:26:02.434Z",
    "id": "t1_nxf7p27",
    "images": [],
    "is_reply_to_comment": false,
    "parent_comment_id": null,
    "permalink": "/r/Fitness/comments/1q2p898/gym_story_saturday/nxf7p27/",
    "position": 0,
    "post": {
      "created_at": "2026-01-03T08:15:49.709000+0000",
      "created_at_iso": "2026-01-03T08:15:49.709Z",
      "id": "t3_1q2p898",
      "nsfw": false,
      "num_comments": 80,
      "permalink": "/r/Fitness/comments/1q2p898/gym_story_saturday/",
      "spoiler": false,
      "title": "Gym Story Saturday",
      "url": "https://www.reddit.com/r/Fitness/comments/1q2p898/gym_story_saturday/",
      "votes": 67
    },
    "post_id": "t3_1q2p898",
    "subreddit": {
      "icon": "https://b.thumbs.redditmedia.com/Ted4KOMuRbaCYlDS55cTqjpVVZ2ENHKtYFbBFjI1i2o.png",
      "id": "t5_2qhx4",
      "name": "Fitness",
      "nsfw": false,
      "quarantined": false
    },
    "url": "https://www.reddit.com/r/Fitness/comments/1q2p898/gym_story_saturday/nxf7p27/",
    "votes": 123
  }
]
"credits_charged": 1
"credits_remaining": 1000000
"cursor": "eyJjYW5kaWRhdGVzX3JldHVybmVkIjoie1wic2VjdGlvbl8xX3BpcGVsaW5lXzBfZ2xvYmFsX21vZGlmaWVyc1wiOlwiM1wiLFwic2VjdGlvbl8xX3BpcGVsaW5lXzFfbG9jYWxfbW9kaWZpZXJzXCI6XCIzXCIsXCJzZWN0aW9uXzJfcGlwZWxpbmVfNl9zY29wZV9zd2l0Y2hlclwiOlwiMFwiLFwic2VjdGlvbl8yX3BpcGVsaW5lXzdfcG9zdF9zZWFyY2hcIjpcIjdcIn0ifQ=="
"media": [
  {
    "aspect_ratio": 1.3333333333333333,
    "gallery_count": null,
    "id": "t3_geo4x",
    "image": {
      "height": 360,
      "resolutions": [
        {
          "url": "https://external-preview.redd.it/X6lz5yGIzqVA5LcI9w-FsQJJHhXoCugDhsXgWW3I404.jpg?width=320&crop=smart&format=pjpg&auto=webp&s=144ac4171a1862e5d91d8dd90d44271e22a8273d",
          "width": 320
        }
      ],
      "src": "https://external-preview.redd.it/X6lz5yGIzqVA5LcI9w-FsQJJHhXoCugDhsXgWW3I404.jpg?format=pjpg&auto=webp&s=46814b0a707a532e39e6c20851ddc1fefb0a111f",
      "width": 480
    },
    "is_blurred": false,
    "media_type": "image",
    "nsfw": false,
    "permalink": "/r/Fitness/comments/geo4x/bodyweight_training_for_really_strong_people_see/",
    "position": 0,
    "safe_search": "UNAVAILABLE",
    "spoiler": false,
    "subreddit": {
      "id": "t5_2qhx4",
      "name": "Fitness",
      "nsfw": false,
      "quarantined": false
    },
    "title": "Bodyweight training for really strong people. See on you're own what I mean with strong. (Not me)",
    "url": "https://www.reddit.com/r/Fitness/comments/geo4x/bodyweight_training_for_really_strong_people_see/",
    "video": null
  }
]
posts [1]
[0] {}
"created_at": "2018-05-03T01:09:17.620000+0000"
"created_at_iso": "2018-05-03T01:09:17.620Z"
"id": "t3_8gmjrb"
"is_crosspost": false
"nsfw": false
"num_comments": 582
"permalink": "/r/Fitness/comments/8gmjrb/is_doing_50100_pushups_a_day_doing_anything/"
"position": 0
"post_id": "t3_8gmjrb"
"relative_position": 0
"spoiler": false
subreddit {}
"banner": null
descriptionString · text preview
posts[0].subreddit.description
A place for the pursuit of physical fitness goals.

Please see the r/Fitness Wiki and FAQ at https://thefitness.wiki for help with common questions.
"icon": "https://b.thumbs.redditmedia.com/Ted4KOMuRbaCYlDS55cTqjpVVZ2ENHKtYFbBFjI1i2o.png"
"id": "t5_2qhx4"
"name": "Fitness"
"nsfw": false
"quarantined": false
"weekly_contributions": 1827
"weekly_visitors": 898726
"thumbnail": null
"thumbnail_blurred": false
"title": "Is doing 50-100 pushups a day doing anything?"
"url": "https://www.reddit.com/r/Fitness/comments/8gmjrb/is_doing_50100_pushups_a_day_doing_anything/"
"votes": 1414
"success": true

Response result

Response structure

Inferred from examples
  • commentsobject[]
    • authorstring
    • author_avatarnull
    • author_nsfwboolean
    • bodystring
    • body_htmlstring
    • created_atstring
    • created_at_isostring
    • idstring
    • imagesunknown[]
    • is_reply_to_commentboolean
    • parent_comment_idnull
    • permalinkstring
    • positioninteger
    • postobject
      • created_atstring
      • created_at_isostring
      • idstring
      • nsfwboolean
      • num_commentsinteger
      • permalinkstring
      • spoilerboolean
      • titlestring
      • urlstring
      • votesinteger
    • post_idstring
    • subredditobject
      • iconstring
      • idstring
      • namestring
      • nsfwboolean
      • quarantinedboolean
    • urlstring
    • votesinteger
  • credits_chargedinteger
  • credits_remaininginteger
  • cursorstring
  • mediaobject[]
    • aspect_rationumber
    • gallery_countnull
    • idstring
    • imageobject
      • heightinteger
      • resolutionsobject[]
        • urlstring
        • widthinteger
      • srcstring
      • widthinteger
    • is_blurredboolean
    • media_typestring
    • nsfwboolean
    • permalinkstring
    • positioninteger
    • safe_searchstring
    • spoilerboolean
    • subredditobject
      • idstring
      • namestring
      • nsfwboolean
      • quarantinedboolean
    • titlestring
    • urlstring
    • videonull
  • postsobject[]
    • created_atstring
    • created_at_isostring
    • idstring
    • is_crosspostboolean
    • nsfwboolean
    • num_commentsinteger
    • permalinkstring
    • positioninteger
    • post_idstring
    • relative_positioninteger
    • spoilerboolean
    • subredditobject
      • bannernull
      • descriptionstring
      • iconstring
      • idstring
      • namestring
      • nsfwboolean
      • quarantinedboolean
      • weekly_contributionsinteger
      • weekly_visitorsinteger
    • thumbnailnull
    • thumbnail_blurredboolean
    • titlestring
    • urlstring
    • votesinteger
  • successboolean

Sellers

SellerPricingRequests · 30dPerformanceAccess
Reddit — Subreddit Search · GET · View API reference$0.00188 / call—
—successP50—
Loading...
Selected pricing · scrapecreatorsUSD / call
Unit price
$0.00188

Statistics use persisted gateway logs from the last 30 days up to now, including today.
Success rate = successful requests / all requests;
P50 = median latency of successful requests.
Prices reflect the published API contract. Contract revision: 3. Price update time: not supplied.

calls

Total $0.188

API

Method
GET
Endpoint
https://api.openany.si/v1/agent-apis/scrapecreators/v1/reddit/subreddit/search
Content type
application/json
Authentication
Authorization: Bearer $OPENANY_API_KEY
curl \
  'https://api.openany.si/v1/agent-apis/scrapecreators/v1/reddit/subreddit/search?query=push+ups&subreddit=AskReddit' \
  -X GET \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json'

Input parameters

Fields in this listing; additional options and input encoding can vary by provider.

ParameterLocationTypeRequiredDescription
subredditURL query parametersquerystringYesSubreddit name (e.g. 'Fitness', not 'r/Fitness' or a full URL)
queryURL query parametersquerystringNoSearch query to find matching content
sortURL query parametersquerystringNoSort order. For posts/media: relevance, hot, top, new, comments. For comments: relevance, top, new

enum: "relevance", "hot", "top", "new", "comments"

timeframeURL query parametersquerystringNoTimeframe to filter results

enum: "all", "year", "month", "week", "day", "hour"

cursorURL query parametersquerystringNoCursor to get more results. Get 'cursor' from previous response.

Required markers inside a nested object or variant apply when that object or variant is used.

Sample response

Sample response · Documented HTTP 200 Example from the provider's documentation. Field values in your results will differ.

Official example
{
  "comments": [
    {
      "author": "Philser23",
      "author_avatar": null,
      "author_nsfw": false,
      "body": "On the 30th my girlfriend out of the blue decided her new year's resolution would be to start going to the gym. I was so excited since none of my partners ever shared the fitness hobby with me.",
      "body_html": "<p>On the 30th my girlfriend out of the blue decided her new year's resolution would be to start going to the gym...</p>",
      "created_at": "2026-01-03T11:26:02.434000+0000",
      "created_at_iso": "2026-01-03T11:26:02.434Z",
      "id": "t1_nxf7p27",
      "images": [],
      "is_reply_to_comment": false,
      "parent_comment_id": null,
      "permalink": "/r/Fitness/comments/1q2p898/gym_story_saturday/nxf7p27/",
      "position": 0,
      "post": {
        "created_at": "2026-01-03T08:15:49.709000+0000",
        "created_at_iso": "2026-01-03T08:15:49.709Z",
        "id": "t3_1q2p898",
        "nsfw": false,
        "num_comments": 80,
        "permalink": "/r/Fitness/comments/1q2p898/gym_story_saturday/",
        "spoiler": false,
        "title": "Gym Story Saturday",
        "url": "https://www.reddit.com/r/Fitness/comments/1q2p898/gym_story_saturday/",
        "votes": 67
      },
      "post_id": "t3_1q2p898",
      "subreddit": {
        "icon": "https://b.thumbs.redditmedia.com/Ted4KOMuRbaCYlDS55cTqjpVVZ2ENHKtYFbBFjI1i2o.png",
        "id": "t5_2qhx4",
        "name": "Fitness",
        "nsfw": false,
        "quarantined": false
      },
      "url": "https://www.reddit.com/r/Fitness/comments/1q2p898/gym_story_saturday/nxf7p27/",
      "votes": 123
    }
  ],
  "credits_charged": 1,
  "credits_remaining": 1000000,
  "cursor": "eyJjYW5kaWRhdGVzX3JldHVybmVkIjoie1wic2VjdGlvbl8xX3BpcGVsaW5lXzBfZ2xvYmFsX21vZGlmaWVyc1wiOlwiM1wiLFwic2VjdGlvbl8xX3BpcGVsaW5lXzFfbG9jYWxfbW9kaWZpZXJzXCI6XCIzXCIsXCJzZWN0aW9uXzJfcGlwZWxpbmVfNl9zY29wZV9zd2l0Y2hlclwiOlwiMFwiLFwic2VjdGlvbl8yX3BpcGVsaW5lXzdfcG9zdF9zZWFyY2hcIjpcIjdcIn0ifQ==",
  "media": [
    {
      "aspect_ratio": 1.3333333333333333,
      "gallery_count": null,
      "id": "t3_geo4x",
      "image": {
        "height": 360,
        "resolutions": [
          {
            "url": "https://external-preview.redd.it/X6lz5yGIzqVA5LcI9w-FsQJJHhXoCugDhsXgWW3I404.jpg?width=320&crop=smart&format=pjpg&auto=webp&s=144ac4171a1862e5d91d8dd90d44271e22a8273d",
            "width": 320
          }
        ],
        "src": "https://external-preview.redd.it/X6lz5yGIzqVA5LcI9w-FsQJJHhXoCugDhsXgWW3I404.jpg?format=pjpg&auto=webp&s=46814b0a707a532e39e6c20851ddc1fefb0a111f",
        "width": 480
      },
      "is_blurred": false,
      "media_type": "image",
      "nsfw": false,
      "permalink": "/r/Fitness/comments/geo4x/bodyweight_training_for_really_strong_people_see/",
      "position": 0,
      "safe_search": "UNAVAILABLE",
      "spoiler": false,
      "subreddit": {
        "id": "t5_2qhx4",
        "name": "Fitness",
        "nsfw": false,
        "quarantined": false
      },
      "title": "Bodyweight training for really strong people. See on you're own what I mean with strong. (Not me)",
      "url": "https://www.reddit.com/r/Fitness/comments/geo4x/bodyweight_training_for_really_strong_people_see/",
      "video": null
    }
  ],
  "posts": [
    {
      "created_at": "2018-05-03T01:09:17.620000+0000",
      "created_at_iso": "2018-05-03T01:09:17.620Z",
      "id": "t3_8gmjrb",
      "is_crosspost": false,
      "nsfw": false,
      "num_comments": 582,
      "permalink": "/r/Fitness/comments/8gmjrb/is_doing_50100_pushups_a_day_doing_anything/",
      "position": 0,
      "post_id": "t3_8gmjrb",
      "relative_position": 0,
      "spoiler": false,
      "subreddit": {
        "banner": null,
        "description": "A place for the pursuit of physical fitness goals.\n\nPlease see the r/Fitness Wiki and FAQ at https://thefitness.wiki for help with common questions.",
        "icon": "https://b.thumbs.redditmedia.com/Ted4KOMuRbaCYlDS55cTqjpVVZ2ENHKtYFbBFjI1i2o.png",
        "id": "t5_2qhx4",
        "name": "Fitness",
        "nsfw": false,
        "quarantined": false,
        "weekly_contributions": 1827,
        "weekly_visitors": 898726
      },
      "thumbnail": null,
      "thumbnail_blurred": false,
      "title": "Is doing 50-100 pushups a day doing anything?",
      "url": "https://www.reddit.com/r/Fitness/comments/8gmjrb/is_doing_50100_pushups_a_day_doing_anything/",
      "votes": 1414
    }
  ],
  "success": true
}

Agent integration

Copy the resource contract without sharing an API key.

View API Markdown
API Markdown
# scrapecreators: search

Search for scrapecreators: with the Reddit API. Supply a subreddit. Sample fields include comments and authors. Use it to surface relevant records in a search or discovery tool. The GET request schema also lists query, sort. Use the results to organize a research workflow and cross-check the relevant source records.
## Available implementations
scrapecreators · Reddit — Subreddit Search: https://openany.si/markets/apis/capabilities/reddit-scrapecreators-search?offering=348e29c4-f978-41a7-a7db-4b94c2aed55c · $0.00188 / call

## Selected API contract
Documentation: https://openany.si/markets/apis/capabilities/reddit-scrapecreators-search
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/scrapecreators/v1/reddit/subreddit/search
Price: $0.00188 / call
Provider: scrapecreators
Contract revision: 3
Price source: OpenAny public API contract and documented provider unit rates. Price update time: not supplied.

Use OPENANY_API_KEY from the environment. API Key calls use your shared balance.

## Prepared request
```bash
curl \
  'https://api.openany.si/v1/agent-apis/scrapecreators/v1/reddit/subreddit/search?query=push+ups&subreddit=AskReddit' \
  -X GET \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json'
```

## API contract
```json
{
  "resource_type": "api",
  "name": "Reddit — Subreddit Search",
  "endpoint": "https://api.openany.si/v1/agent-apis/scrapecreators/v1/reddit/subreddit/search",
  "method": "GET",
  "content_type": "none",
  "execution_mode": "sync",
  "authentication": {
    "type": "bearer",
    "environment_variable": "OPENANY_API_KEY"
  },
  "inputs": [
    {
      "description": "Subreddit name (e.g. 'Fitness', not 'r/Fitness' or a full URL)",
      "location": "query",
      "name": "subreddit",
      "nullable": false,
      "required": true,
      "type": "string"
    },
    {
      "description": "Search query to find matching content",
      "location": "query",
      "name": "query",
      "nullable": false,
      "required": false,
      "type": "string"
    },
    {
      "description": "Sort order. For posts/media: relevance, hot, top, new, comments. For comments: relevance, top, new",
      "enum_values": [
        "relevance",
        "hot",
        "top",
        "new",
        "comments"
      ],
      "location": "query",
      "name": "sort",
      "nullable": false,
      "required": false,
      "type": "string"
    },
    {
      "description": "Timeframe to filter results",
      "enum_values": [
        "all",
        "year",
        "month",
        "week",
        "day",
        "hour"
      ],
      "location": "query",
      "name": "timeframe",
      "nullable": false,
      "required": false,
      "type": "string"
    },
    {
      "description": "Cursor to get more results. Get 'cursor' from previous response.",
      "location": "query",
      "name": "cursor",
      "nullable": false,
      "required": false,
      "type": "string"
    }
  ],
  "billing": {
    "currency": "USD",
    "mode": "fixed",
    "priceMicroUsd": "1880",
    "rounding": null,
    "unit": "call",
    "unitQuantity": null
  },
  "examples": [
    {
      "http_status": 200,
      "name": "Official example",
      "request": {
        "body": null,
        "headers": {},
        "path": {},
        "query": {
          "query": "push ups",
          "subreddit": "AskReddit"
        }
      },
      "response_body": {
        "comments": [
          {
            "author": "Philser23",
            "author_avatar": null,
            "author_nsfw": false,
            "body": "On the 30th my girlfriend out of the blue decided her new year's resolution would be to start going to the gym. I was so excited since none of my partners ever shared the fitness hobby with me.",
            "body_html": "<p>On the 30th my girlfriend out of the blue decided her new year's resolution would be to start going to the gym...</p>",
            "created_at": "2026-01-03T11:26:02.434000+0000",
            "created_at_iso": "2026-01-03T11:26:02.434Z",
            "id": "t1_nxf7p27",
            "images": [],
            "is_reply_to_comment": false,
            "parent_comment_id": null,
            "permalink": "/r/Fitness/comments/1q2p898/gym_story_saturday/nxf7p27/",
            "position": 0,
            "post": {
              "created_at": "2026-01-03T08:15:49.709000+0000",
              "created_at_iso": "2026-01-03T08:15:49.709Z",
              "id": "t3_1q2p898",
              "nsfw": false,
              "num_comments": 80,
              "permalink": "/r/Fitness/comments/1q2p898/gym_story_saturday/",
              "spoiler": false,
              "title": "Gym Story Saturday",
              "url": "https://www.reddit.com/r/Fitness/comments/1q2p898/gym_story_saturday/",
              "votes": 67
            },
            "post_id": "t3_1q2p898",
            "subreddit": {
              "icon": "https://b.thumbs.redditmedia.com/Ted4KOMuRbaCYlDS55cTqjpVVZ2ENHKtYFbBFjI1i2o.png",
              "id": "t5_2qhx4",
              "name": "Fitness",
              "nsfw": false,
              "quarantined": false
            },
            "url": "https://www.reddit.com/r/Fitness/comments/1q2p898/gym_story_saturday/nxf7p27/",
            "votes": 123
          }
        ],
        "credits_charged": 1,
        "credits_remaining": 1000000,
        "cursor": "eyJjYW5kaWRhdGVzX3JldHVybmVkIjoie1wic2VjdGlvbl8xX3BpcGVsaW5lXzBfZ2xvYmFsX21vZGlmaWVyc1wiOlwiM1wiLFwic2VjdGlvbl8xX3BpcGVsaW5lXzFfbG9jYWxfbW9kaWZpZXJzXCI6XCIzXCIsXCJzZWN0aW9uXzJfcGlwZWxpbmVfNl9zY29wZV9zd2l0Y2hlclwiOlwiMFwiLFwic2VjdGlvbl8yX3BpcGVsaW5lXzdfcG9zdF9zZWFyY2hcIjpcIjdcIn0ifQ==",
        "media": [
          {
            "aspect_ratio": 1.3333333333333333,
            "gallery_count": null,
            "id": "t3_geo4x",
            "image": {
              "height": 360,
              "resolutions": [
                {
                  "url": "https://external-preview.redd.it/X6lz5yGIzqVA5LcI9w-FsQJJHhXoCugDhsXgWW3I404.jpg?width=320&crop=smart&format=pjpg&auto=webp&s=144ac4171a1862e5d91d8dd90d44271e22a8273d",
                  "width": 320
                }
              ],
              "src": "https://external-preview.redd.it/X6lz5yGIzqVA5LcI9w-FsQJJHhXoCugDhsXgWW3I404.jpg?format=pjpg&auto=webp&s=46814b0a707a532e39e6c20851ddc1fefb0a111f",
              "width": 480
            },
            "is_blurred": false,
            "media_type": "image",
            "nsfw": false,
            "permalink": "/r/Fitness/comments/geo4x/bodyweight_training_for_really_strong_people_see/",
            "position": 0,
            "safe_search": "UNAVAILABLE",
            "spoiler": false,
            "subreddit": {
              "id": "t5_2qhx4",
              "name": "Fitness",
              "nsfw": false,
              "quarantined": false
            },
            "title": "Bodyweight training for really strong people. See on you're own what I mean with strong. (Not me)",
            "url": "https://www.reddit.com/r/Fitness/comments/geo4x/bodyweight_training_for_really_strong_people_see/",
            "video": null
          }
        ],
        "posts": [
          {
            "created_at": "2018-05-03T01:09:17.620000+0000",
            "created_at_iso": "2018-05-03T01:09:17.620Z",
            "id": "t3_8gmjrb",
            "is_crosspost": false,
            "nsfw": false,
            "num_comments": 582,
            "permalink": "/r/Fitness/comments/8gmjrb/is_doing_50100_pushups_a_day_doing_anything/",
            "position": 0,
            "post_id": "t3_8gmjrb",
            "relative_position": 0,
            "spoiler": false,
            "subreddit": {
              "banner": null,
              "description": "A place for the pursuit of physical fitness goals.\n\nPlease see the r/Fitness Wiki and FAQ at https://thefitness.wiki for help with common questions.",
              "icon": "https://b.thumbs.redditmedia.com/Ted4KOMuRbaCYlDS55cTqjpVVZ2ENHKtYFbBFjI1i2o.png",
              "id": "t5_2qhx4",
              "name": "Fitness",
              "nsfw": false,
              "quarantined": false,
              "weekly_contributions": 1827,
              "weekly_visitors": 898726
            },
            "thumbnail": null,
            "thumbnail_blurred": false,
            "title": "Is doing 50-100 pushups a day doing anything?",
            "url": "https://www.reddit.com/r/Fitness/comments/8gmjrb/is_doing_50100_pushups_a_day_doing_anything/",
            "votes": 1414
          }
        ],
        "success": true
      }
    }
  ]
}
```

Error handling

StatusNext step
400Check the offering and request fields.
401 / 403Verify your credentials and access permissions.
402Inspect the selected access mode and returned payment requirements.
429Respect the returned rate limit and retry guidance.
5xxInspect the error and usage record before retrying a paid operation.

Examples

Official example

Example from the provider's documentation. Field values in your results will differ.

  1. Prepare your environment

    Use a terminal with cURL installed.

    Use an OpenAny API key with shared-balance access. Confirm availability and price before running; a call may charge your balance.

    Set the key in your terminal using the hidden prompt below. Keep its value out of source files and logs.

    Terminal · macOS / Linux
    printf 'OpenAny API key: '
    read -r -s OPENANY_API_KEY
    export OPENANY_API_KEY
    printf '\n'
  2. Run the request

    Paste the complete command below into your terminal.

    Values to replace before running 5

    Review these request fields before running. Keep the published provider and request method unchanged.

    subreddit
    Subreddit name (e.g. 'Fitness', not 'r/Fitness' or a full URL)
    query
    Search query to find matching content
    sort
    Sort order. For posts/media: relevance, hot, top, new, comments. For comments: relevance, top, new
    timeframe
    Timeframe to filter results
    cursor
    Cursor to get more results. Get 'cursor' from previous response.
    Terminal · cURL
    curl \
      'https://api.openany.si/v1/agent-apis/scrapecreators/v1/reddit/subreddit/search?query=push+ups&subreddit=AskReddit' \
      -X GET \
      -H "Authorization: Bearer $OPENANY_API_KEY" \
      -H 'Content-Type: application/json'
  3. Check the response

    Sample response · Documented HTTP 200

    Sample response
    {
      "comments": [
        {
          "author": "Philser23",
          "author_avatar": null,
          "author_nsfw": false,
          "body": "On the 30th my girlfriend out of the blue decided her new year's resolution would be to start going to the gym. I was so excited since none of my partners ever shared the fitness hobby with me.",
          "body_html": "<p>On the 30th my girlfriend out of the blue decided her new year's resolution would be to start going to the gym...</p>",
          "created_at": "2026-01-03T11:26:02.434000+0000",
          "created_at_iso": "2026-01-03T11:26:02.434Z",
          "id": "t1_nxf7p27",
          "images": [],
          "is_reply_to_comment": false,
          "parent_comment_id": null,
          "permalink": "/r/Fitness/comments/1q2p898/gym_story_saturday/nxf7p27/",
          "position": 0,
          "post": {
            "created_at": "2026-01-03T08:15:49.709000+0000",
            "created_at_iso": "2026-01-03T08:15:49.709Z",
            "id": "t3_1q2p898",
            "nsfw": false,
            "num_comments": 80,
            "permalink": "/r/Fitness/comments/1q2p898/gym_story_saturday/",
            "spoiler": false,
            "title": "Gym Story Saturday",
            "url": "https://www.reddit.com/r/Fitness/comments/1q2p898/gym_story_saturday/",
            "votes": 67
          },
          "post_id": "t3_1q2p898",
          "subreddit": {
            "icon": "https://b.thumbs.redditmedia.com/Ted4KOMuRbaCYlDS55cTqjpVVZ2ENHKtYFbBFjI1i2o.png",
            "id": "t5_2qhx4",
            "name": "Fitness",
            "nsfw": false,
            "quarantined": false
          },
          "url": "https://www.reddit.com/r/Fitness/comments/1q2p898/gym_story_saturday/nxf7p27/",
          "votes": 123
        }
      ],
      "credits_charged": 1,
      "credits_remaining": 1000000,
      "cursor": "eyJjYW5kaWRhdGVzX3JldHVybmVkIjoie1wic2VjdGlvbl8xX3BpcGVsaW5lXzBfZ2xvYmFsX21vZGlmaWVyc1wiOlwiM1wiLFwic2VjdGlvbl8xX3BpcGVsaW5lXzFfbG9jYWxfbW9kaWZpZXJzXCI6XCIzXCIsXCJzZWN0aW9uXzJfcGlwZWxpbmVfNl9zY29wZV9zd2l0Y2hlclwiOlwiMFwiLFwic2VjdGlvbl8yX3BpcGVsaW5lXzdfcG9zdF9zZWFyY2hcIjpcIjdcIn0ifQ==",
      "media": [
        {
          "aspect_ratio": 1.3333333333333333,
          "gallery_count": null,
          "id": "t3_geo4x",
          "image": {
            "height": 360,
            "resolutions": [
              {
                "url": "https://external-preview.redd.it/X6lz5yGIzqVA5LcI9w-FsQJJHhXoCugDhsXgWW3I404.jpg?width=320&crop=smart&format=pjpg&auto=webp&s=144ac4171a1862e5d91d8dd90d44271e22a8273d",
                "width": 320
              }
            ],
            "src": "https://external-preview.redd.it/X6lz5yGIzqVA5LcI9w-FsQJJHhXoCugDhsXgWW3I404.jpg?format=pjpg&auto=webp&s=46814b0a707a532e39e6c20851ddc1fefb0a111f",
            "width": 480
          },
          "is_blurred": false,
          "media_type": "image",
          "nsfw": false,
          "permalink": "/r/Fitness/comments/geo4x/bodyweight_training_for_really_strong_people_see/",
          "position": 0,
          "safe_search": "UNAVAILABLE",
          "spoiler": false,
          "subreddit": {
            "id": "t5_2qhx4",
            "name": "Fitness",
            "nsfw": false,
            "quarantined": false
          },
          "title": "Bodyweight training for really strong people. See on you're own what I mean with strong. (Not me)",
          "url": "https://www.reddit.com/r/Fitness/comments/geo4x/bodyweight_training_for_really_strong_people_see/",
          "video": null
        }
      ],
      "posts": [
        {
          "created_at": "2018-05-03T01:09:17.620000+0000",
          "created_at_iso": "2018-05-03T01:09:17.620Z",
          "id": "t3_8gmjrb",
          "is_crosspost": false,
          "nsfw": false,
          "num_comments": 582,
          "permalink": "/r/Fitness/comments/8gmjrb/is_doing_50100_pushups_a_day_doing_anything/",
          "position": 0,
          "post_id": "t3_8gmjrb",
          "relative_position": 0,
          "spoiler": false,
          "subreddit": {
            "banner": null,
            "description": "A place for the pursuit of physical fitness goals.\n\nPlease see the r/Fitness Wiki and FAQ at https://thefitness.wiki for help with common questions.",
            "icon": "https://b.thumbs.redditmedia.com/Ted4KOMuRbaCYlDS55cTqjpVVZ2ENHKtYFbBFjI1i2o.png",
            "id": "t5_2qhx4",
            "name": "Fitness",
            "nsfw": false,
            "quarantined": false,
            "weekly_contributions": 1827,
            "weekly_visitors": 898726
          },
          "thumbnail": null,
          "thumbnail_blurred": false,
          "title": "Is doing 50-100 pushups a day doing anything?",
          "url": "https://www.reddit.com/r/Fitness/comments/8gmjrb/is_doing_50100_pushups_a_day_doing_anything/",
          "votes": 1414
        }
      ],
      "success": true
    }

Common questions

Do I need a separate key for every provider?

Use your OpenAny API key for standard API access. Read it from OPENANY_API_KEY in your environment and keep it out of prompts, source code and logs.

Are these providers interchangeable?

No. Each offering has its own inputs, pricing and response contract. Selecting a catalog offering does not establish automatic routing or fallback. Confirm the service contract before calling.

How is this API billed?

API-key calls use your shared balance at the selected implementation's published rate. Check the billing unit and request-specific pricing rules before making a paid call. Recorded usage determines the final charge under that contract.

Where do the price and contract come from?

The selected implementation publishes its provider, request contract, revision and billing rules through OpenAny's public API catalog. A revision number identifies a contract version, not a price update date. A price update timestamp is not supplied; do not treat a page date as one.

How do OpenAny Balance and x402 differ?

OpenAny Balance uses an API key and one shared balance. Card, USDC and x402 top-ups, card auto top-up and USDC subscriptions fund that balance; available routes appear on the Credits page. Direct x402 is a separate pay-per-request flow, available only on listings that show it and requiring an authorized payment client.

Does Playground send a paid request?

Yes. After you sign in, Run sends a real API request using an active OpenAny API key. Charges follow the published API contract and use your shared balance. Selecting an implementation, editing inputs and viewing sample responses do not send requests.

Use scrapecreators: search with your agent

Inspect endpoint contracts and confirm availability and pricing before a paid call.