Go to example tasks

Contact details to JSON (example)

Pull names, roles, emails and phone numbers from a messy contact page or footer into clean JSON.

Try for free
spruce_the_data: messy HTML and text to clean JSON
spruce_the_data: messy HTML and text to clean JSONsprucethedata/clean-json
Index
URL
Status
Data
+2 fields
Text
Number
Boolean
List
Object

Input

Output JSON Schema:{3 fields}
Texts to clean:<footer><div class="team"><h3>Contact our team</h3><p><b>Maria Lopez</b>, Head of Sales<br>maria.lopez@brightpath.example<br>Tel: +1 (415) 555-0132</p><p><b>Daniel Okafor</b> - Partnerships<br>Email: d.okafor@brightpath.example</p></div><p>BrightPath Logistics, 220 Harbor Way, San Francisco, CA 94105</p><p>www.brightpath.example | Follow us on social</p><script>trackVisit()</script></footer>

Output fields

Index
URL
Status
Data
Dropped fields
Error

How it works

Sign up on Apify or log in

The spruce_the_data: messy HTML and text to clean JSON Actor is ready to run with the inputs already set for "Contact details to JSON (example)". Sign up or log in and you'll land in Apify Console with a copy of this exact task.

Start the "Contact details to JSON (example)" task

The spruce_the_data: messy HTML and text to clean JSON Actor will start running based on the input automatically. You can also change all the input fields, like output json schema and texts to clean, to match your specific use case.

Receive the "Contact details to JSON (example)" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as index, URL, status, and more.

Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also run the "Contact details to JSON (example)" task via API.

Image

Integrate "Contact details to JSON (example)" into your workflow

Connect "Contact details to JSON (example)" with 100+ integrations, or run it via API or MCP.

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