Store, reviews & issues
Search Store Actors, the public Store API, reviews, issues, and page views.
Browse public Actors in the Scrape.ly Store, read and submit reviews, and manage issue reports on public Actors. Paths are relative to https://api.scrape.ly. See API Reference for authentication and response conventions, and Find Actors in the Store for the dashboard view.
On endpoints marked "authentication optional", omit the Authorization header to call them anonymously. An invalid token still returns 401.
List Store Actors
/v2/store/actors/v2/storeLists published, non-deprecated Actors. /v2/store is the same endpoint under the path existing Store API clients use. Authentication optional. Existing Store API clients can send the same parameters.
curl "https://api.scrape.ly/v2/store/actors?search=scraper&category=ECOMMERCE&sortBy=popularity&limit=20"| Query param | Type | Default | Description |
|---|---|---|---|
search | string | — | Search words, read like q on the public store search: every word must appear in the Actor name, title, or description (any order, any case); the first 100 characters and the first 8 distinct words count; a search with no words, such as -, is no search. |
category | string | — | Store category name in any case or spelling (E-commerce, ECOMMERCE, social_media). |
username | string | — | Only Actors owned by this username. |
sortBy | string | popularity | popularity (monthly active users), newest, updated, name, or recommended. recommended ranks by how well search matches the title, name, description, categories, output types, and target sites, with Actors maintained by Scrape.ly and passing their tests first; desc doesn't reverse it. relevance and users map to popularity, lastUpdate to updated. Unknown values fall back to popularity. |
desc | boolean | false | true or 1 reverses the sort order. |
pricingModel | string | — | FREE for unpaid Actors (Actors with no pricing count as free), or PAY_PER_EVENT. Any case. |
industry, outputType, site | string | — | Use-case filters with the values listed for the public store below; the three combine. An unknown industry or output type, or a malformed domain, returns 400 invalid-input. |
facets | boolean | false | 1 adds facets: { industries, outputTypes, sites }, each a list of { name, count } over the other filters. |
excludeKnown | boolean | false | true or 1 hides Actors you own or have run. Ignored without authentication. |
includeUnrunnableActors | boolean | — | Accepted for compatibility with existing clients and has no effect. Non-boolean values return 400 invalid-input. |
allowsAgenticUsers | boolean | — | true lists only Actors whose owners allow AI agents, false only Actors that don't. Non-boolean values return 400 invalid-input. |
includeInputSchema | boolean | false | true or 1 adds inputSchema to each item: a compact input schema of the Actor's Store build without hidden fields or secret values, or null. Full format only. Non-boolean values return 400 invalid-input. |
responseFormat | string | full | full returns the response below. agent returns compact entries for AI agents and LLM tools (see Store for AI agents). Other values return 400 invalid-input. |
limit | number | 20 | Page size, max 100. |
offset | number | 0 | Pagination offset. |
{
"data": {
"total": 128,
"offset": 0,
"limit": 20,
"count": 20,
"desc": false,
"items": [
{
"id": "eLN5rTB8sYTBWdfzx",
"userId": "uSeRiDeXaMpLe123",
"name": "example-scraper",
"username": "janedoe",
"title": "Example Scraper",
"description": "Scrapes example.com",
"categories": ["ECOMMERCE"],
"industries": ["ecommerce"],
"outputTypes": ["products"],
"targetSites": ["example.com"],
"pictureUrl": "https://...",
"userPictureUrl": "https://...",
"ownerName": "Jane Doe",
"ownerImageUrl": "https://...",
"url": "https://...",
"readmeSummary": "...",
"avgRating": 4.5,
"totalReviews": 12,
"reviewsHidden": false,
"isUnderMaintenance": false,
"userMaintenanceBadge": false,
"maintainedByScrapely": false,
"actorPermissionLevel": "LIMITED_PERMISSIONS",
"pricingInfos": [{ "pricingModel": "FREE" }],
"currentPricingInfo": { "pricingModel": "FREE" },
"usageEstimate": null,
"stats": {
"totalRuns": null,
"totalUsers": null,
"totalUsers7Days": null,
"totalUsers30Days": 90,
"totalUsers90Days": null,
"successRate": 98,
"successRateWindow": "currentBuild"
},
"createdAt": "2026-01-15T10:30:00.000Z",
"modifiedAt": "2026-08-01T12:00:00.000Z"
}
]
}
}stats.totalUsers30Days is the Actor's monthly active users: every distinct user who started a run in the last 30 days. It is the only usage number the Store publishes. Run counts, total users and bookmark counts are not public: the other count keys are kept for compatibility with existing clients and are always null. Owners see their own Actor's numbers in Insights.
stats.successRate is the public success rate shown on Actor pages, a whole percentage, or null without enough runs. stats.successRateWindow says which runs it covers: currentBuild (runs since the latest successful build) or last30Days. maintainedByScrapely is true for Actors maintained by Scrape.ly. industries, outputTypes, and targetSites are the use-case values the industry, outputType, and site filters match. usageEstimate is set only for pay-per-event Actors whose platform usage is billed on top of their prices: the measured cost per 1,000 results and per run (usdPer1000Median, usdPer1000P90, usdPerRunMedian) over sampleRuns recent runs; otherwise null.
description is truncated to 280 characters.
Reviews are not shown on every Actor. When an Actor's reviews are hidden, avgRating and totalReviews are null (never 0) and reviewsHidden is true; otherwise reviewsHidden is false.
The list doesn't include the icon itself. Use pictureUrl (null when the Actor has no icon) directly as an image URL. It is versioned by the icon's content and can be cached for a long time (see Get Actor icon and picture).
/v2/store/actors?limit=5To bookmark a Store Actor, see Bookmarks.
Store for AI agents
/v2/store?responseFormat=agentReturns Store entries an AI agent can act on without a second lookup. All the list parameters above work the same way, so an agent can search with search=... and page with limit and offset. Each entry has the Store's standard fields (id, title, name, username, description, notice, badge, categories, stats) plus:
| Field | Description |
|---|---|
actor | username/name, the identifier call-actor and the CLI take. |
purpose | One line on what the Actor does. |
inputs | Up to 8 key input fields, required ones first, each with name, type, required, a short description, and an example (or enum). Secret fields never carry an example. |
inputExample | A complete input to start from: the Actor's example input, or its prefilled values. |
outputFields | The fields each result item has, from the Actor's dataset schema (empty when the Actor doesn't declare one). |
pricing | model, a plain-language summary (for example "Pay per event: $2.50 per 1,000 results; $0.005 per run start. Plus platform usage (compute, storage, proxy)."), and the events with their USD prices for pay-per-event Actors. |
rating | average and count of user reviews, or null when the Actor's reviews are hidden. |
health | ok, or under-maintenance when the Actor is currently marked under maintenance. badge and notice say the same in words (UNDER_MAINTENANCE, DEPRECATED). |
run | How to run it: api is the synchronous run endpoint that returns the result items, and mcp is the MCP call-actor call. |
url | The Actor's Store page. |
The response also has a usage object with authentication and calling instructions, sent once instead of in every entry.
The agent format only lists Actors whose owners allow AI agents (allowsAgenticUsers, on by default). Sending allowsAgenticUsers=false with responseFormat=agent returns no items.
curl "https://api.scrape.ly/v2/store?responseFormat=agent&search=google%20maps&limit=3"{
"data": {
"total": 4,
"offset": 0,
"limit": 3,
"count": 3,
"desc": false,
"items": [
{
"id": "eLN5rTB8sYTBWdfzx",
"title": "Example Scraper",
"name": "example-scraper",
"username": "janedoe",
"actor": "janedoe/example-scraper",
"description": "Scrapes product listings from example.com. Returns title, price and URL.",
"purpose": "Scrapes product listings from example.com.",
"notice": null,
"badge": null,
"categories": ["ECOMMERCE"],
"stats": { "totalUsers30Days": 90 },
"inputs": [
{ "name": "startUrls", "type": "array of {url}", "required": true, "description": "Category or search pages to scrape.", "example": [{ "url": "https://example.com/shoes" }] },
{ "name": "maxItems", "type": "integer", "required": false, "description": "Stop after this many products.", "example": 50 }
],
"inputExample": { "startUrls": [{ "url": "https://example.com/shoes" }], "maxItems": 50 },
"outputFields": ["title", "price", "url"],
"pricing": {
"model": "PAY_PER_EVENT",
"summary": "Pay per event: $2.50 per 1,000 results. Plus platform usage (compute, storage, proxy).",
"events": [{ "event": "scrapely-default-dataset-item", "title": "Result", "priceUsd": 0.0025 }]
},
"rating": { "average": 4.5, "count": 12 },
"health": "ok",
"run": {
"api": "POST https://api.scrape.ly/v2/acts/janedoe~example-scraper/run-sync-get-dataset-items",
"mcp": "call-actor {\"actor\":\"janedoe/example-scraper\",\"input\":{...}}"
},
"url": "https://..."
}
],
"usage": {
"auth": "Send your Scrape.ly API token as \"Authorization: Bearer $SCRAPELY_TOKEN\".",
"runApi": "POST the input JSON to an item's run.api URL ...",
"mcp": "MCP server: https://mcp.scrape.ly ...",
"pricing": "Prices are in USD and are charged to the token owner's prepaid balance."
}
}
}/v2/store?responseFormat=agent&limit=3Opting an Actor out
Actors allow AI agents by default. As the owner, turn it off with PUT /v2/actors/{actorId} and { "allowsAgenticUsers": false } (see Update Actor). The Actor then no longer appears in the agent format, and runs paid with an agent payment protocol (x402) return 403 agentic-users-not-allowed. This covers every way to start it: direct runs, saved tasks (also creating one), schedules and automations of x402 wallet accounts, Standby requests, metamorph, and resurrect. Calls with an API token aren't affected, and you can always run your own Actor.
Public Store API
Read-only, unauthenticated endpoints that power the public Store pages. Use them for anonymous browsing, search, and SEO. Responses are cached for up to an hour, so new reviews or stats can take that long to appear. The live block of an Actor page is at most 30 seconds old.
- No
Authorizationheader is needed (or used). - Responses carry
Cache-Control: public, max-age=300, s-maxage=300, stale-while-revalidate=600(the live blockpublic, max-age=30, s-maxage=30) and anETag. SendIf-None-Matchto get304 Not Modified. - All JSON responses are wrapped in
data.
/v2/public/store/overview/v2/public/store/actors/v2/public/store/actors/{username}/{name}/v2/public/store/actors/{username}/{name}/live/v2/public/store/sitemap/v2/public/store/examples/v2/public/store/presets/v2/public/actors/{actorId}/picture.webp/v2/public/store/owners/{username}/picture.webpActor cards
Lists and sections return cards with this shape:
{
"id": "eLN5rTB8sYTBWdfzx",
"username": "janedoe",
"name": "example-scraper",
"title": "Example Scraper",
"description": "Scrapes example.com",
"categories": ["ECOMMERCE"],
"industries": ["e-commerce"],
"outputTypes": ["products", "prices"],
"targetSites": ["example.com"],
"pictureUrl": "https://api.scrape.ly/v2/actors/eLN5rTB8sYTBWdfzx/picture.webp?v=...",
"ownerName": "Jane Doe",
"ownerImageUrl": "https://...",
"stats": { "totalUsers30Days": 90 },
"rating": { "average": 4.5, "count": 12 },
"pricing": {
"model": "PAY_PER_EVENT",
"usdPer1000": 2.5,
"unitName": "result",
"perResult": true,
"platformUsageIncluded": true,
"estUsageUsdPer1000": null,
"estTotalUsdPer1000": 2.5,
"tierUsdPer1000": { "FREE": 2.5, "BRONZE": 2.13, "SILVER": 1.75, "GOLD": 1.38 },
"fromUsdPer1000": 1.38,
"discountEnabled": true
},
"isUnderMaintenance": false,
"createdAt": "2026-01-15T10:30:00.000Z",
"modifiedAt": "2026-08-01T12:00:00.000Z",
"consoleUrl": "https://scrape.ly/store/janedoe/example-scraper"
}industries and outputTypes come from fixed lists, targetSites are the domains the Actor scrapes (empty for crawlers that take any site). Search responses also carry facets (industries, outputTypes, sites: { name, count } lists over the other filters), and the overview lists the same counts. description is truncated to 300 characters. pictureUrl is null when the Actor has no icon. rating is null when the Actor's reviews are hidden. ownerImageUrl is the owner's picture: an uploaded picture links to /v2/public/store/owners/{username}/picture.webp, a picture that is already an external URL stays as it is, a private profile gets a neutral placeholder image, and no picture is null. pricing.model is FREE or PAY_PER_EVENT; usdPer1000 is the price of 1,000 units of the main event. On pay-per-event Actors, perResult is true when that unit is one result (otherwise the price is per unitName, such as a page). platformUsageIncluded is true when the event prices include platform usage. When they don't, estUsageUsdPer1000 is the typical platform usage per 1,000 results (measured runs, Free plan rates, null until measured). estTotalUsdPer1000 is the price plus that usage, or null when unknown. tierUsdPer1000 has the main event's price per plan (FREE Free, BRONZE Starter, SILVER Scale, GOLD Business) when it has per-plan prices, and fromUsdPer1000 is the lowest of them.
On pay-per-event Actors, pricing.discountEnabled is true when the paid plans' Store discount comes off that event price. Each plan's percentage is store_discount in GET /v2/plan-tiers; per event, it is discountEnabled in pricingInfo. The discount covers event fees only, never platform usage.
Store overview
/v2/public/store/overviewReturns total (number of public Actors), categories, industries, outputTypes and sites (each [{ "name", "count" }]), sections, and generatedAt. sections has up to 9 cards each:
| Section | Contents |
|---|---|
top | Most popular Actors |
rising | Actors created in the last 90 days, by users in the last 30 days |
leadGen | Lead generation and SEO Actors |
community | Newest Actors |
/v2/public/store/overviewSearch the Store
/v2/public/store/actors| Query param | Type | Default | Description |
|---|---|---|---|
q | string | — | Search words. The query is split on whitespace, -, _, punctuation such as , ; : ! ? / |, quotes, brackets and control characters (., ', %, &, +, # and @ stay part of a word). Matching ignores case, including Unicode forms (İNSTAGRAM and full-width letters match instagram). Every word must appear in the title, name, username, or description, in any order. The first 100 characters count (a run of spaces counts as one; a word cut by the limit is dropped), and so do the first 8 distinct words; later words are ignored. A q with no words, such as -, is no search and lists every Actor. search works as an alias. |
category | string | — | Category name in any case or spelling (Jobs, JOBS, social_media). A value with no letters or digits (___) matches no Actor. |
pricing | string | — | free, paid (anything not free), or a model such as PAY_PER_EVENT. Any case. |
industry | string | — | Use-case industry: e-commerce, real-estate, jobs-hr, travel, finance, social-media, marketing-seo, news-media, lead-generation, ai-llm, automotive, local-business, food-hospitality, healthcare, education, entertainment, sports, government-legal, developer-tools, general. Repeat the parameter or separate values with commas to match any of them. |
outputType | string | — | What the Actor returns: products, prices, reviews, listings, profiles, posts, comments, jobs, contacts, companies, places, articles, videos, images, search-results, documents, events, files, screenshots. Same repeat and comma rules. |
site | string | — | A domain the Actor scrapes, for example amazon.com. Same repeat and comma rules. |
sort | string | relevance with q, else popular | relevance, popular (monthly active users), newest, updated, name, or recommended (healthy Actors maintained by Scrape.ly first). Other values return 400 invalid-input. |
limit | number | 24 | 1–100. |
offset | number | 0 | Pagination offset. |
curl "https://api.scrape.ly/v2/public/store/actors?q=google+maps&pricing=free&limit=10"Each item is a full card.
/v2/public/store/actors?limit=5Actor page
/v2/public/store/actors/{username}/{name}Everything a public Actor page needs, in one call. Unknown or private Actors return 404 record-or-token-not-found.
| Field | Contents |
|---|---|
actor | The card, plus the full description, seoTitle, seoDescription, pricingInfo (the current pricing configuration), successRate and successRateWindow: the public success rate, the percentage of the Actor's counted runs that succeeded since its last successful build ("currentBuild"), or over the last 30 days ("last30Days") when the current build has fewer than 10. Counted runs are the succeeded ones plus the runs that failed or timed out because of the Actor or the site. Aborted runs, runs that failed on the user's input or settings, and failures of the platform itself are left out. Every run counts, whoever started it. Both are null when the last 30 days also have fewer than 10 counted runs, and no run counts are published with it. testHealth is the latest automatic check of the Actor: { "lastTestedAt", "checksPassed", "checksTotal" }, or null. |
build | What users need from the User Build (the build their runs use): readme, inputSchema, outputSchema, datasetSchema. No build number, date, or changelog: build info is owner only. Only a successful build is shown; null if there is none. |
exampleRunInput | Example input object, or null. |
reviews | average, count, distribution (1–5), and the 10 newest items (id, username, userImageUrl, rating, text, createdAt). null when the Actor's reviews are hidden. |
issues | open and closed counts and the 20 newest items. |
examples | Published task examples: slug, title, description, useCase, publishedAt. |
presets | The owner's input presets that have a public page: id, slug, title, description. |
related | Up to 6 cards that share a category. |
/v2/public/store/actors/janedoe/example-scraperLive checks and price
/v2/public/store/actors/{username}/{name}/liveThe parts of an Actor page that change most: testHealth, pricing (the card's), and pricingInfo, the same values as in the Actor page, plus generatedAt. At most 30 seconds old. Unknown or private Actors return 404 record-or-token-not-found.
/v2/public/store/actors/janedoe/example-scraper/liveSitemap
/v2/public/store/sitemapEvery public Actor as { "username", "name", "title", "modifiedAt" }, plus total and generatedAt. Use it to build sitemaps or sync a catalog.
/v2/public/store/sitemapExample tasks
/v2/public/store/examplesEvery published example task, newest first (at most 10,000), for sitemaps. Each item is { "actorId", "username", "name", "slug", "title", "publishedAt" }, plus total and generatedAt.
/v2/public/store/examplesPreset pages
/v2/public/store/presetsEvery public preset page, for sitemaps: { "actorId", "username", "name", "actTitle", "id", "slug", "title", "description", "updatedAt" }, plus total. Paginated with offset and limit (default 1000, max 5000).
/v2/public/store/presets?limit=5Actor picture
/v2/public/actors/{actorId}/picture.webpReturns a public Actor's current icon, or 404 picture-not-found. The pictureUrl in cards points to /v2/actors/{actorId}/picture.webp?v={hash} instead, which is versioned by the icon's content and cached as immutable.
Owner picture
/v2/public/store/owners/{username}/picture.webp?v={hash}Returns a user's uploaded profile picture (WebP, PNG, JPEG or GIF, typed by its content). ownerImageUrl in cards and on Actor pages, and userImageUrl in Actor page reviews, link here with v set to a hash of the current picture, so use those URLs as they are.
- When
vmatches the current picture, the response carriesCache-Control: public, max-age=3600, s-maxage=300and anETag. SendIf-None-Matchto get304 Not Modified. Any othervgets the current picture withpublic, max-age=300. - The response is never cached as immutable. A picture that is replaced, deleted, or hidden by making the profile private stops being served to others within about 10 minutes.
- Returns
404 picture-not-found(cached for 5 minutes) when the user doesn't exist, has no uploaded picture, uses an external picture URL, or keeps their profile private.
Reviews
Users who have run a public Actor can rate it 1–5 stars and leave a comment. Reading reviews is public; submitting one requires authentication.
Reviews are not shown on every Actor. For an Actor whose reviews are hidden, the stats return { "reviewsHidden": true, "avgRating": null, "totalReviews": null, "distribution": null }, the list returns reviewsHidden: true with total: null and no items, and submitting a review returns 403 reviews-hidden. Every other Actor returns reviewsHidden: false.
Review stats
/v2/actors/{actorId}/reviews/statscurl "https://api.scrape.ly/v2/actors/{actorId}/reviews/stats"/v2/actors/{actorId}/reviews/statsList reviews
/v2/actors/{actorId}/reviewsNewest first. limit defaults to 20 (max 100); offset defaults to 0.
curl "https://api.scrape.ly/v2/actors/{actorId}/reviews?limit=20&offset=0"/v2/actors/{actorId}/reviews?limit=5Submit or update a review
/v2/actors/{actorId}/reviewsCreates your review, or updates your existing one. Returns 201 on create and 200 on update, with { "id", "userId", "username", "rating", "reviewText" } in data.
curl -X POST "https://api.scrape.ly/v2/actors/{actorId}/reviews" \
-H "Authorization: Bearer $SCRAPELY_TOKEN" \
-H "Content-Type: application/json" \
-d '{ "rating": 5, "reviewText": "Works great" }'| Body field | Type | Required | Description |
|---|---|---|---|
rating | integer | Yes | 1–5. |
reviewText | string | No | Max 5000 characters. Profanity-filtered. |
Rules:
- The Actor must be public (
403 forbidden). - You can't review your own Actor (
403 forbidden). - You must have run the Actor at least once (
403 run-required). - The Actor's reviews must be shown (
403 reviews-hidden). - If your review was first created less than 24 hours ago, you can't submit or update it yet (
429 rate-limited).
Issues
Issues are bug reports, feature requests, and feedback threads on public Actors. Any signed-in user who has run the Actor can open one.
Issues on Actors you own
/v2/user/issuesOwner inbox: issues filed on Actors you own, not issues you opened on other people's Actors.
curl "https://api.scrape.ly/v2/user/issues?status=open&type=bug" \
-H "Authorization: Bearer $SCRAPELY_TOKEN"| Query param | Type | Default | Description |
|---|---|---|---|
status | string | — | open or closed. |
type | string | — | bug, unexpected, feedback, or feature. |
limit | number | 20 | Page size, max 100. |
offset | number | 0 | Pagination offset. |
{
"data": {
"total": 4,
"offset": 0,
"limit": 20,
"stats": {
"totalIssues": 10,
"openIssues": 4,
"closedIssues": 6
},
"items": [
{
"id": "issue-uuid",
"actorId": "eLN5rTB8sYTBWdfzx",
"actorName": "example-scraper",
"actorUsername": "janedoe",
"userId": "user-uuid",
"username": "reporter",
"userImageUrl": null,
"title": "Times out on large URLs",
"description": "Steps to reproduce...",
"actorRunUrl": null,
"status": "open",
"type": "bug",
"createdAt": "2026-08-01T12:00:00.000Z",
"updatedAt": "2026-08-01T12:00:00.000Z",
"closedAt": null,
"closedBy": null
}
]
}
}stats counts all issues on your Actors, ignoring filters. total and items honor status and type.
/v2/user/issues?limit=5Hide the removed-from-store notice
/v2/user/issues/maintenance/{actorId}/hideHides the "Removed from store" notice of your own deprecated Actor from the Issues tab. Returns 200:
{ "data": { "actorId": "eLN5rTB8sYTBWdfzx", "hidden": true } }Returns 404 record-or-token-not-found if the Actor isn't yours or isn't deprecated.
curl -X POST "https://api.scrape.ly/v2/user/issues/maintenance/eLN5rTB8sYTBWdfzx/hide" \
-H "Authorization: Bearer $SCRAPELY_TOKEN"Issue stats for an Actor
/v2/actors/{actorId}/issues/statsPublic. Returns open and closed counts for one Actor.
{
"data": {
"totalIssues": 10,
"openIssues": 4,
"closedIssues": 6
}
}/v2/actors/{actorId}/issues/statsList issues for an Actor
/v2/actors/{actorId}/issuesPublic. Supports status, type, limit (max 100), and offset, the same filters as the owner inbox.
curl "https://api.scrape.ly/v2/actors/{actorId}/issues?status=open&limit=20"/v2/actors/{actorId}/issues?limit=5Create an issue
/v2/actors/{actorId}/issuescurl -X POST "https://api.scrape.ly/v2/actors/{actorId}/issues" \
-H "Authorization: Bearer $SCRAPELY_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"title": "Actor times out on large URLs",
"description": "Steps to reproduce...",
"type": "bug",
"actorRunUrl": "https://my.scrape.ly/actors/{actorId}/runs/{runId}"
}'| Body field | Type | Required | Description |
|---|---|---|---|
title | string | Yes | Max 255 characters. Profanity-filtered. |
description | string | No | Max 10,000 characters. |
type | string | No | bug (default), unexpected, feedback, or feature. |
actorRunUrl | string | No | Link to a related run, max 500 characters. |
Returns 201 with the created issue in data. The Actor owner gets a dashboard notification.
Rules:
- The Actor must be public (
403 forbidden). - You can't open an issue on your own Actor (
403 forbidden). - You must have run the Actor at least once (
403 run-required). - One new issue per Actor per 24 hours (
429 rate-limited).
The reporter and the Actor owner are subscribed to comment notifications automatically.
Close or reopen
/v2/actors/{actorId}/issues/{issueId}/close/v2/actors/{actorId}/issues/{issueId}/reopenOnly the Actor owner can close or reopen an issue. Closing an already-closed issue, or reopening an open one, returns 400 invalid-action. Both return { "data": { "id", "status", "closedAt", "closedBy" } }.
curl -X PATCH "https://api.scrape.ly/v2/actors/{actorId}/issues/{issueId}/close" \
-H "Authorization: Bearer $SCRAPELY_TOKEN"Comments
/v2/actors/{actorId}/issues/{issueId}/comments/v2/actors/{actorId}/issues/{issueId}/comments/v2/actors/{actorId}/issues/comments/{commentId}GET is public (limit default 50, max 100). POST requires authentication. DELETE is allowed for the comment author or the Actor owner.
curl -X POST "https://api.scrape.ly/v2/actors/{actorId}/issues/{issueId}/comments" \
-H "Authorization: Bearer $SCRAPELY_TOKEN" \
-H "Content-Type: application/json" \
-d '{ "body": "I can reproduce this on v1.2.0" }'bodyis required, max 5000 characters, and profanity-filtered.- Closed issues reject new comments (
403 issue-closed). - The Actor owner and the issue author can always comment. Other users must have run the Actor and can post at most 3 comments per issue per 24 hours (
429 rate-limited). - A new comment sends a dashboard notification to everyone subscribed to the issue with
notifyOnCommenton.
Issue subscriptions
/v2/actors/{actorId}/issues/{issueId}/subscription/v2/actors/{actorId}/issues/{issueId}/subscription/v2/actors/{actorId}/issues/{issueId}/subscriptionAuthentication required. Subscriptions control comment notifications for one issue.
curl -X PUT "https://api.scrape.ly/v2/actors/{actorId}/issues/{issueId}/subscription" \
-H "Authorization: Bearer $SCRAPELY_TOKEN" \
-H "Content-Type: application/json" \
-d '{ "notifyOnComment": true }'GET and PUT return { "data": { "isSubscribed": true, "notifyOnComment": true } }. DELETE unsubscribes and returns { "data": { "success": true } }.
/v2/actors/{actorId}/issues/{issueId}/subscriptionRecord a page view
/v2/actors/{actorId}/pageviewRecords a view of an Actor's page for the owner's acquisition analytics. Authentication optional, so anonymous views count. Views are recorded only for public Actors, or by the owner on their own Actor. Anonymous views count only in the owner's acquisition analytics, not in Store ranking.
| Body field | Type | Description |
|---|---|---|
pageType | string | Required. detail, input, or run. |
sessionId | string | Required. Opaque client session ID, max 64 characters, used to count unique visitors. |
referrer | string | Optional referring URL (first 500 characters stored). Kept only when it is an absolute http or https URL. |
curl -X POST "https://api.scrape.ly/v2/actors/{actorId}/pageview" \
-H "Content-Type: application/json" \
-d '{"pageType": "detail", "sessionId": "s_8f2c91ab", "referrer": "https://google.com"}'Returns 201 with { "data": { "recorded": true } }, or { "data": { "recorded": false } } when the view was not stored because the viewer already reached its visitor limit for the Actor (see below).
| Status | Condition |
|---|---|
400 | invalid-input: pageType missing or invalid, or sessionId missing, not a string, or longer than 64 characters |
404 | record-or-token-not-found: the Actor does not exist, or it is private and you are not its owner |
429 | Too many page views from one IP address (60 per minute; an IPv6 address counts by its /64) or for one Actor (300 per minute) |
503 | rate-limit-unavailable: the rate limiter is temporarily unavailable; try again |
Generate sessionId on the client and reuse it for the visitor's session so repeat views aren't counted as new visitors. One viewer counts as at most 10 distinct sessionIds per Actor in 24 hours, so a single client can't present itself as many visitors. The viewer is you when the request carries your API token (wherever you connect from), otherwise the IP address (an IPv6 address by its /64). A sessionId already counted for that viewer keeps being recorded. This is a safety limit for the visitor count, not a cap on results. Owners read the results through the acquisition insight endpoints.
Errors
| Status | Type | Meaning |
|---|---|---|
| 400 | invalid-input | Missing or invalid rating, title, body, or query parameter |
| 400 | profanity-detected | Text failed the profanity filter |
| 400 | invalid-action | Issue already closed or already open |
| 403 | forbidden | Reviewing or opening an issue on your own or a private Actor, or not the owner |
| 403 | run-required | Run the Actor first |
| 403 | issue-closed | Can't comment on a closed issue |
| 404 | record-or-token-not-found / issue-not-found / comment-not-found | Unknown resource |
| 429 | rate-limited | Review, issue, or comment rate limit |