JSONPath Query Example for Books

Extract authors and low-price book titles from nested bookstore JSON using wildcards and filter expressions.

Try for free
JSONPath Extractor
JSONPath Extractorautomation-lab/jsonpath-extractor
Expression
Path
Match #
Value
+1 field
Text
Number
Boolean
List
Object

Input

JSON input(required):{"store":{"book":[{"category":"reference","author":"Nigel Rees","title":"Sayings of the Century","price":8.95},{"category":"fiction","author":"Evelyn Waugh","title":"Sword of Honour","price":12.99},{"category":"fiction","author":"Herman Melville","title":"Moby Dick","price":8.99}]}}
JSONPath expressions(required):$.store.book[*].author+1
Include result paths:true
Flatten results:true
Wrap primitive values as objects:true

Output fields

Expression
Path
Match #
Value
Type

How it works

Sign up on Apify01

Create your Apify account to access the JSONPath Extractor.

Start the run02

The Actor will start running based on the input automatically.

Receive the output03

Monitor the progress in real-time. You will be notified as soon as your dataset is complete and ready for review.

Integrate into your workflow04

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow.

Image

Integrate Actor directly into your workflow

Choose from one of 100+ integration options we provide or integrate via API

Webhook

Webhook

n8n

n8n

Make

Make

Zapier

Zapier

Airbyte

Airbyte

Keboola

Keboola

IFTTT

IFTTT

Hubspot

Hubspot

GDrive

GDrive

Gmail

Gmail

Apify MCP

Apify MCP

GitHub

GitHub

Slack

Slack

LangChain

LangChain

LlamaIndex

LlamaIndex

Flowise

Flowise

Pinecone

Pinecone

OpenAI

OpenAI

Mastra

Mastra

Clay

Clay