Instaparser

v1.0.2

Use the Instaparser API to parse articles, PDFs, and generate summaries from URLs. Trigger when users want to extract content from web pages, parse PDF docum...

1· 145·0 current·0 all-time
byBrian Donohue@donohue

Install

OpenClaw Prompt Flow

Install with OpenClaw

Best for remote or guided setup. Copy the exact prompt, then paste it into OpenClaw for donohue/instaparser.

Previewing Install & Setup.
Prompt PreviewInstall & Setup
Install the skill "Instaparser" (donohue/instaparser) from ClawHub.
Skill page: https://clawhub.ai/donohue/instaparser
Keep the work scoped to this skill only.
After install, inspect the skill metadata and help me finish setup.
Required env vars: INSTAPARSER_API_KEY
Use only the metadata you can verify from ClawHub; do not invent missing requirements.
Ask before making any broader environment changes.

Command Line

CLI Commands

Use the direct CLI path if you want to install manually and keep every step visible.

OpenClaw CLI

Bare skill slug

openclaw skills install instaparser

ClawHub CLI

Package manager switcher

npx clawhub@latest install instaparser
Security Scan
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Benign
high confidence
Purpose & Capability
Name/description (parse articles, PDFs, summaries) match the only declared requirement (INSTAPARSER_API_KEY) and the SKILL.md documents HTTPS calls to https://www.instaparser.com/api/ — nothing extraneous is requested.
Instruction Scope
SKILL.md instructs the agent to call specific Instaparser endpoints, upload files when needed, and use the INSTAPARSER_API_KEY. It does not instruct reading local files or unrelated environment variables beyond what is declared.
Install Mechanism
No install spec and no code files — instruction-only skill. No binaries or downloads are requested, so there is no install-time code execution risk from the skill itself.
Credentials
Only one credential (INSTAPARSER_API_KEY) is required and is the declared primaryEnv. No additional tokens, keys, or config paths are requested.
Persistence & Privilege
always is false and the skill is user-invocable; it does not request persistent or system-wide privileges or attempt to modify other skills or settings.
Assessment
This skill appears coherent, but remember: (1) using it sends URLs, HTML, or uploaded PDFs to instaparser.com — do not send sensitive or confidential documents unless you trust the provider and their privacy policy; (2) keep your INSTAPARSER_API_KEY secret and rotate/revoke it if exposed; (3) monitor usage/credits to avoid unexpected charges; and (4) if you need stronger assurance, verify the vendor/site (https://www.instaparser.com) and review their terms before supplying a production API key.

Like a lobster shell, security has layers — review code before you run it.

Runtime requirements

EnvINSTAPARSER_API_KEY
Primary envINSTAPARSER_API_KEY
article-parservk971qgemwmp36pskwfgzetpzas83jka6content-extractionvk971qgemwmp36pskwfgzetpzas83jka6instaparservk971qgemwmp36pskwfgzetpzas83jka6latestvk971qgemwmp36pskwfgzetpzas83jka6pdf-parservk971qgemwmp36pskwfgzetpzas83jka6summarizationvk971qgemwmp36pskwfgzetpzas83jka6
145downloads
1stars
3versions
Updated 1mo ago
v1.0.2
MIT-0

Instaparser API Skill

Use this skill when the user wants to interact with the Instaparser API to parse articles, PDFs, or generate summaries.

Requirements

  • Network access: This skill makes HTTPS requests to https://www.instaparser.com/api/. The user must grant network access when prompted.
  • API key: All requests require an Instaparser API key set as the INSTAPARSER_API_KEY environment variable.

Getting an API key

  1. Go to https://www.instaparser.com and create an account.
  2. After signing in, navigate to the API section of your dashboard to generate an API key.
  3. Set the key in your environment:
    export INSTAPARSER_API_KEY="your_api_key_here"
    
  4. The free Trial plan includes a limited number of monthly credits. Paid plans are available for higher usage.

Authentication

All API requests require a Bearer token. The API key should be provided via the INSTAPARSER_API_KEY environment variable, or the user can provide it directly.

Authorization: Bearer $INSTAPARSER_API_KEY

API Endpoints

Article API

POST https://www.instaparser.com/api/1/article

Parse an article from a URL and extract its title, author, body content, images, and more. Uses 1 credit per call.

Request body (JSON):

ParameterTypeRequiredDescription
urlstringYesURL of the article to parse
contentstringNoRaw HTML content to parse instead of fetching from url
outputstringNo"html" (default) or "text"
use_cacheboolNoWhether to use cache. Defaults to true

Example:

curl -X POST https://www.instaparser.com/api/1/article \
  -H "Authorization: Bearer $INSTAPARSER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url": "https://example.com/article", "output": "text"}'

Response fields:

FieldDescription
urlCanonical URL
titleArticle title
site_nameWebsite name
authorAuthor name
datePublished date (UNIX timestamp)
descriptionArticle description
thumbnailThumbnail image URL
htmlHTML body (when output is "html")
textPlain text body (when output is "text")
wordsWord count
is_rtltrue if Arabic or Hebrew
imagesArray of image URLs
videosArray of video URLs

PDF API

Parse PDFs from a URL (GET) or by uploading a file (POST). Uses 5 credits per page.

Parse from URL

GET https://www.instaparser.com/api/1/pdf

ParameterTypeRequiredDescription
urlstringYesURL of the PDF to parse
outputstringNo"html" (default) or "text"
use_cacheboolNoWhether to use cache. Defaults to true
curl "https://www.instaparser.com/api/1/pdf?url=https://example.com/report.pdf&output=text" \
  -H "Authorization: Bearer $INSTAPARSER_API_KEY"

Upload a file

POST https://www.instaparser.com/api/1/pdf

Send as multipart form-data with a file field.

curl -X POST https://www.instaparser.com/api/1/pdf \
  -H "Authorization: Bearer $INSTAPARSER_API_KEY" \
  -F "file=@report.pdf" \
  -F "output=text"

Response fields: Same as Article API.


Summary API

POST https://www.instaparser.com/api/1/summary

Generate an AI-powered summary with key sentences. Uses 10 credits per call.

Request body (JSON):

ParameterTypeRequiredDescription
urlstringYesURL of the article to summarize
contentstringNoHTML content to parse instead of fetching from URL
use_cacheboolNoWhether to use cache. Defaults to true
streamboolNoStream the response. Defaults to false
curl -X POST https://www.instaparser.com/api/1/summary \
  -H "Authorization: Bearer $INSTAPARSER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url": "https://example.com/article"}'

Response fields:

FieldDescription
key_sentencesArray of key sentences extracted from the article
summaryConcise summary of the article

Status Codes

CodeReason
200Success
400Parameter missing or malformed
401API key is invalid
403Account suspended (payment error)
409Exceeded monthly credits (Trial plan only)
412Upstream parsing error
429Rate limit exceeded

SDK Usage

Python:

from instaparser import InstaparserClient

client = InstaparserClient(api_key="YOUR_API_KEY")

# Article
article = client.Article(url="https://example.com/article", output="text")

# PDF
pdf = client.PDF(url="https://example.com/report.pdf")

# Summary
summary = client.Summary(url="https://example.com/article")

JavaScript:

import { InstaparserClient } from 'instaparser-api';

const client = new InstaparserClient({ apiKey: 'YOUR_API_KEY' });

// Article
const article = await client.article({ url: 'https://example.com/article', output: 'text' });

// PDF
const pdf = await client.pdf({ url: 'https://example.com/report.pdf' });

// Summary
const summary = await client.summary({ url: 'https://example.com/article' });

Instructions

When the user asks to parse an article, PDF, or generate a summary:

  1. Check if INSTAPARSER_API_KEY is set in the environment. If not, ask the user for their API key.
  2. Use curl via the Bash tool to make the API request.
  3. For article parsing, default to output: "text" unless the user specifically wants HTML.
  4. For PDF parsing from a local file, use the multipart form-data POST method.
  5. For PDF parsing from a URL, use the GET method with query parameters.
  6. Present the results clearly — show title, author, word count, and the extracted content.
  7. For summaries, display both the overview/summary and the key sentences.

Comments

Loading comments...