India+91 96296 27092USA+1 659 777 0392hari@flowpeakconsulting.comWhatsApp IndiaWhatsApp USA
Flowpeak ConsultingFlowpeak Logo Mark

Integrations

Zoho Analytics Export Data API: Sync and Bulk Export Guide

Harikrishnan, founder of Flowpeak ConsultingBy Harikrishnan (The Zoho Mechanic), Founder & Chief Zoho Consultant, Flowpeak · 10+ years in Zoho · Published · Last updated

Zoho Analytics API v2 exports a view with GET /restapi/v2/workspaces/{workspace-id}/views/{view-id}/data, passing responseFormat such as csv or json in CONFIG. For large tables, Live Connect workspaces, dashboards or SQL joins, use the Bulk API: create an export job, poll its status, then download the file within one hour. Calls need the ZohoAnalytics.data.read scope and a ZANALYTICS-ORGID header.

Zoho CRM setup from USD 500Fixed price in writing. Every service has a published price.

  • Registered Zoho partner
  • Calls in your business hours
  • 30 days of free fixes

This guide is written for developers, data engineers and finance teams who need data out of Zoho Analytics and into a data warehouse, another BI tool, a spreadsheet or an app. It covers the current API version, server URLs per data center, authentication, the synchronous export endpoint and its options, the asynchronous bulk export flow, API units and plan limits, and common errors. Everything here comes from Zoho's v2 API documentation.

How do you export data from Zoho Analytics with the API?

Call the Export Data endpoint of Zoho Analytics API v2 for a table, query table or report view, choose a response format, and read the response. When the view is too large or not supported by the synchronous call, create an asynchronous export job with the Bulk API and download the result when it completes.

Zoho documents API v2 as the current version, and still publishes v1 pages. Build new integrations on v2.

Before you start

  • Server URI by data center: analyticsapi.zoho.com (US), analyticsapi.zoho.eu (EU), analyticsapi.zoho.in (India), analyticsapi.zoho.com.au (Australia), analyticsapi.zoho.jp (Japan), analyticsapi.zoho.sa (Saudi Arabia), analyticsapi.zohocloud.ca (Canada) and analyticsapi.zoho.com.cn (China).
  • Authentication: OAuth 2.0, sent as Authorization: Zoho-oauthtoken followed by the access token.
  • Organization header: ZANALYTICS-ORGID with your organization ID, which the Get Organizations API returns.
  • Scopes: ZohoAnalytics.data.read for export, and ZohoAnalytics.metadata.read to list workspaces and views and find their IDs.
  • IDs: get view IDs from GET /restapi/v2/workspaces/{workspace-id}/views.

Synchronous export, step by step

  1. Send GET https://{server}/restapi/v2/workspaces/{workspace-id}/views/{view-id}/data.
  2. Add a CONFIG query parameter holding JSON, with responseFormat set to csv, json, xml, xls, pdf, html or image.
  3. Optionally add criteria to filter rows, for example a region equal to East, and selectedColumns to limit columns.
  4. Use showHiddenCols and showPersonalCols only if you need hidden or personal data columns. Both default to false.
  5. For CSV, set delimiter, recordDelimiter, quoted and includeHeader. For JSON, keyValueFormat defaults to true.
  6. Handle the Outdated system tag. With validateSystemTags at its default of true, a view tagged Outdated is rejected unless you set it to false.

Zoho says this synchronous API is restricted for tables over one million rows, tables and views in Live Connect workspaces, and dashboard and query table views. Use the asynchronous API for those.

Asynchronous bulk export

StepEndpointNotes
Create job from a viewGET /restapi/v2/bulk/workspaces/{workspace-id}/views/{view-id}/dataSame CONFIG keys, plus optional callbackUrl. Returns data.jobId
Create job from SQLGET /restapi/v2/bulk/workspaces/{workspace-id}/dataCONFIG needs sqlQuery (a SELECT, joins allowed) and responseFormat
Check job statusGET /restapi/v2/bulk/workspaces/{workspace-id}/exportjobs/{job-id}Poll, for example every 10 seconds, or use the callback
Download resultGET /restapi/v2/bulk/workspaces/{workspace-id}/exportjobs/{job-id}/dataAvailable for one hour after completion

Job codes: 1001 job not initiated, 1002 in progress, 1003 error occurred, 1004 completed, 1005 job not found. Zoho allows up to 5 concurrent export jobs per organization.

API units and limits

  • Exports consume API units. Zoho lists 3 units per 1,000 rows for most exports, such as a table in CSV, and 5 units per 1,000 rows for any view as PDF.
  • Charts as image or PDF cost 10 units per request. Dashboards in any format and any view as HTML cost 15.
  • Checking job status and downloading exported data cost 0 units.
  • Daily units by plan per Zoho's v2 page: Free 1,000, Basic 4,000, Standard 10,000, Premium 30,000, Enterprise 100,000. Add-on units are available.
  • Going over the daily allowance returns error code 6043 or 6044.
  • Zoho also limits call frequency, so space out loops and back off on errors.

Mistakes we see often

  • Calling analyticsapi.zoho.com for an account hosted in the EU, India or Canada.
  • Leaving out the ZANALYTICS-ORGID header.
  • Requesting only the data scope, then failing to list views to find IDs.
  • Using the synchronous API on a Live Connect workspace or a table over one million rows.
  • Downloading a bulk job more than an hour after it completes.
  • Exporting the full table every night when criteria could fetch only changed rows.

What you should end up with

  • A nightly bulk job that sends a clean CSV or JSON extract to your warehouse or BI tool, such as Power BI. See Zoho Analytics vs Power BI.
  • Tokens refreshed automatically, with secrets stored outside code.
  • Callback URLs or polling with timeouts and alerts on code 1003.
  • A daily unit budget so exports never block other API use.
  • Documented view IDs and SQL queries owned by one person.

How a Flowpeak setup runs

  • Scope: which views or SQL queries, which target system, how often, and who owns the data.
  • Choose route: synchronous export for small views, bulk jobs for large tables, Live Connect workspaces and joins.
  • Map fields: column names, data types, dates and currencies between Zoho Analytics and the target.
  • Test: run full and filtered exports, check row counts and unit use, and force a failure to test alerts.
  • Hand over: document the jobs, scopes, view IDs and unit budget, and train the person who will own them.

How Flowpeak helps

Flowpeak is a registered Zoho partner with Zoho-certified consultants in Chennai, supporting clients from Chennai in the USA, Canada, the UK, Europe, the Gulf and India. Our Zoho Analytics data export integration starts from USD 270 (INR 25,000 + GST in India). The final price depends on the number of views, target systems, schedule and transformation needed. See our Zoho integration services.

Want help putting this into practice? Flowpeak works as a partner for Zoho Analytics dashboards, headquartered in Chennai. Book a free call to talk through your setup.

What this usually costs and how long it takes

Zoho CRM setup
from USD 500, GBP 400, EUR 450, CAD 700, AUD 760 or AED 1,850. In India we quote after a free call.
Moving your data into Zoho
from USD 380
Connecting Zoho to another tool
from USD 270
How long it takes
most CRM setups go live in about two weeks

You get a fixed price in writing before any work starts. Zoho licences are billed by Zoho separately.

What clients say

“Working with FlowPeak Consulting was a really good experience for us...”
Team EON Group
Zoho CRM, Books and Inventory implementation
“Working with Flowpeak Consulting on our Zoho implementation was a really positive experience...”
MD, Southern Industries
Zoho One implementation
“We had a good experience working with Flowpeak Consulting for our Zoho implementation at Almapuro...”
Almapuro Agri Private Limited
Zoho implementation

Free · 60 seconds

Get your Zoho plan

Four quick questions. See which Zoho apps fit, how long it takes and what it costs to start.

Step 1 of 4

What kind of business do you run?

Free, no obligation

Looking for a Zoho Analytics implementation partner?

Tell us which Zoho app you need help with and where your business is. Hari, our founder, replies within one business day with clear next steps.

Not sure what you need yet? Answer a few plain questions and see your scope and timeline.

Which Zoho app?
What do you need?

We work with clients worldwide over video, and travel to meet you in person when the project needs it.

Get a free Zoho audit

30 minutes with a senior Zoho consultant. No obligation.

  • Fixed price in writing
  • Paid by milestone
  • 30 days of free fixes after go-live
  • Registered Zoho partner

Frequently asked questions

What is the Zoho Analytics API endpoint to export data?

For a single view, GET /restapi/v2/workspaces/{workspace-id}/views/{view-id}/data with a CONFIG parameter that sets responseFormat.

Which formats can Zoho Analytics export through the API?

CSV, JSON, XML, XLS, PDF, HTML and image for view exports. SQL-based bulk exports support CSV, JSON, XML, XLS, PDF and HTML.

What OAuth scope does Zoho Analytics export need?

ZohoAnalytics.data.read. Add ZohoAnalytics.metadata.read if your code also lists workspaces and views.

How do I export more than one million rows from Zoho Analytics?

Use the Bulk API: create an export job, poll the job status, then download the file within one hour of completion.

How many API units does a Zoho Analytics export use?

Most exports use 3 units per 1,000 rows. PDF views use 5 per 1,000 rows, and dashboards or HTML exports use 15 per request.

Related

Book a free 30-minute call
Book a free callWhatsApp