Home / Companies / Neo4j / Blog / Post Details
Content Deep Dive

Cypher: LOAD JSON from URL AS Data

Blog post from Neo4j

Post Details
Company
Date Published
Author
Michael Hunger
Word Count
1,601
Company Posts That Month
19
Language
English
Hacker News Points
-
Post removed?
No
Summary

Neo4j's query language Cypher can be used to load data from CSV directly, but not from JSON files or URLs. However, with the help of user-defined procedures like `apoc.load.json`, it is possible to ingest document-structured information from APIs and other sources into a more usable graph model. This can be achieved by retrieving data from APIs that return JSON responses, such as Stack Overflow's API, and then using Cypher queries to deconstruct and insert the data into Neo4j. The process involves creating a graph model, building a Cypher query to import the data, and executing it on the Neo4j server or embedded API. Different programming languages like Python, JavaScript, Ruby, Java, and Bash can be used to call the transactional Cypher endpoint directly, allowing developers to easily access web-APIs and transform their data into a graph structure without duplication of information and rich relationships.

Trends Found in this Post
Trend Post Mentions Total Month Mentions Posts Companies MoM
Secrets Management 1 3 3 3 0%
Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.