Snapchat Snapcode and Public Page Extractor avatar

Snapchat Snapcode and Public Page Extractor

Pricing

from $2.99 / 1,000 snapcodes

Go to Apify Store
Snapchat Snapcode and Public Page Extractor

Snapchat Snapcode and Public Page Extractor

Extract bounded Snapcode SVG and normalized records from public HTTP(S) pages with explicit diagnostics.

Pricing

from $2.99 / 1,000 snapcodes

Rating

0.0

(0)

Developer

w3crawler

w3crawler

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

2 days ago

Last modified

Categories

Share

Read public Snapchat Snapcode SVG endpoints and other public HTTP(S) pages, then return bounded normalized records. The default target is Snapchat's public Snapcode SVG endpoint.

Despite the historical scraper name, this Actor does not create or publish a separate binary PNG/SVG artifact. SVG responses are stored as bounded text inside the normalized record data. It does not log in, solve CAPTCHAs, bypass access controls, or access private data.

What it does

  • accepts public HTTP(S) start URLs, including Snapcode SVG endpoints;
  • uses one-attempt bounded HTTP with optional Apify proxying, response-size limits, timeouts, request delay, and concurrency controls;
  • recognizes SVG Snapcode responses, JSON/JSON-LD arrays, visible HTML cards, and public page metadata;
  • optionally follows same-host next links within maxPages;
  • emits one stable normalized Snapcode or publicRecord row per unique record;
  • keeps explicit diagnostics in OUTPUT when a page is unavailable, blocked, oversized, malformed, or has no recognizable record;
  • writes OUTPUT_SUMMARY, compatibility OUTPUT, and SOURCE_METADATA artifacts.

Input

FieldTypeDefaultDescription
startUrlsarraySnapchat Snapcode SVG endpointPublic HTTP(S) pages or endpoints, up to 100.
maxItemsinteger25Maximum unique normalized records, from 1 to 100.
maxPagesinteger1Maximum page requests including pagination, from 1 to 10.
followPaginationbooleanfalseFollow same-host next links within maxPages.
requestDelayMsinteger600Delay before each request, from 0 to 30000 milliseconds.
maxConcurrencyinteger1Concurrent requests, from 1 to 5.
timeoutSecsinteger45Per-request timeout, from 5 to 60 seconds.
maxResponseBytesinteger5000000Maximum response body retained in memory, from 100000 to 10000000 bytes.
proxyConfigurationobjectDirect connectionOptional Apify proxy configuration for public targets that require it.

Snapcode SVG example

{
"startUrls": [
{
"url": "https://feelinsonice.appspot.com/web/deeplink/snapcode?username=snapchat&type=SVG"
}
],
"maxItems": 1,
"maxPages": 1,
"followPagination": false,
"requestDelayMs": 600,
"maxResponseBytes": 5000000
}

Public page example

{
"startUrls": [{ "url": "https://www.snapchat.com/discover" }],
"maxItems": 25,
"maxPages": 1,
"followPagination": false
}

Output

Normalized public rows use recordType Snapcode or publicRecord and stable recordId values. A Snapcode record preserves bounded SVG text inside data.

{
"recordType": "Snapcode",
"recordId": "public_record_…",
"status": "success",
"accessStatus": "SUCCESS",
"found": true,
"dataAvailable": true,
"id": "source-identifier",
"name": "Snapcode for snapchat",
"url": "https://feelinsonice.appspot.com/web/deeplink/snapcode?username=snapchat&type=SVG",
"sourceUrl": "https://feelinsonice.appspot.com/web/deeplink/snapcode?username=snapchat&type=SVG",
"sourceDomain": "feelinsonice.appspot.com",
"type": "Snapcode",
"data": {
"username": "snapchat",
"format": "SVG",
"svg": "<svg>...</svg>"
},
"sourceTransport": "direct HTTP"
}

Diagnostics are stored in OUTPUT rather than the dataset. They include code, message, target/source/HTTP details, request limits, and transport metadata. Common codes include HTTP_404, ACCESS_BLOCKED_HTTP_403, RESPONSE_TOO_LARGE, PAGE_PARSE_ERROR, and NO_PUBLIC_RECORDS.

Storage and local QA

  • Dataset rows are written to {{links.apiDefaultDatasetUrl}}/items.
  • OUTPUT_SUMMARY is the structured run summary; OUTPUT is a compatibility alias.
  • SOURCE_METADATA records the public-only policy and confirms that authentication, private APIs, binary media downloads/storage, and CAPTCHA solving were not used.
  • Local runs use storage/datasets/default/ and storage/key_value_stores/default/.
  • npm test, npm run lint, npm audit --audit-level=high, apify validate-schema, and node validate-datasets.js cover the local contract.

Limits and reliability

Response bodies are bounded before parsing or storage. Redirects are safe-URL checked and capped at three hops; pagination is same-host and bounded by maxPages. Public page layouts, Snapcode endpoints, rate limits, and source fields can change, so a diagnostic is the expected result when a public record is not available.

Use this Actor only for lawful, authorized collection of public information. Respect Snapchat and source-site terms, privacy rights, rate limits, and applicable data-protection requirements.