
By Bohdan Vasylkiv
- CEO & Co-Founder
NetSuite API options compared: SuiteTalk REST and SOAP, RESTlets, SuiteQL and SuiteScript. Auth, limits, examples and how to choose. Talk to our team.
Connect NetSuite to anything, and the first question shows up fast: which API do I actually use? Oracle gives you several, the names overlap, and many tutorials still recommend tools that are on their way out.
This guide clears that up. We'll cover each NetSuite API option, the new authentication rules, your first call, and the limits that bite. Whether you're syncing orders from an online store or planning a full CRM and ERP integration, you'll know which path fits by the end.
Yes. Several, in fact.
Oracle groups its developer tools under the SuiteCloud umbrella. The external-facing part, SuiteTalk, covers REST and SOAP web services. On top of that, you can write your own endpoints, run SQL-style queries, and execute custom logic inside the account.
So when someone says "the NetSuite API," they could mean any of these. Each tool solves a different problem, and picking the wrong one often means a rewrite a year later.
Before you dive into the NetSuite API documentation, here's a mental map. Five tools matter: two ready-made web services, one query language, and two ways to run your own code.
Click to expandThis is Oracle's main integration channel and the place where new features land. The NetSuite REST API uses familiar conventions: JSON, standard HTTP verbs, and resource URLs like /record/v1/salesOrder/123.
What makes it pleasant to work with:
The catch is coverage. A few records and operations that SOAP handled are still missing or in beta, so check support for your exact use case before you commit.
SOAP was the workhorse for over a decade, and many older connectors still run on it. Oracle is now retiring it:
Click to expandIf anything in your stack still runs on SOAP, start planning now. Two years sounds like plenty. It goes fast once you add data mapping and testing.
A RESTlet is your own endpoint living inside NetSuite. You write it in SuiteScript, deploy it, and it gets a URL that outside systems can call with GET, POST, PUT, or DELETE.
Why bother when REST web services exist? Because sometimes one call needs to do a lot. Say you want to create a sales order, apply a custom discount rule, and return just five fields. With standard REST, that's several round trips. With a RESTlet, it's one call.
The trade-off is ownership. You maintain the code and the tests, and RESTlets consume script usage units.
SuiteQL is NetSuite's query language, based on SQL-92 with support for some Oracle SQL syntax. You can join tables, filter, group, aggregate, and pull exactly the columns you need.
For reading data, it's usually the fastest route. Instead of fetching 500 customers one by one and then their transactions, you write one query with a join. You can run it through REST, inside scripts, or over ODBC/JDBC with SuiteAnalytics Connect.
It's read-only, though. Each query can return up to 100,000 rows, paged at 1,000 rows per request over REST.
SuiteScript 2.x is NetSuite's JavaScript platform for custom logic inside the account. Version 2.1 supports modern JavaScript syntax.
You get different script types for different moments. User event scripts fire when a record is saved. Scheduled and map/reduce scripts process data in batches. Client scripts run in the browser. RESTlets expose your logic to the outside world.
Strictly speaking, this is a customization platform. Still, integrations lean on it all the time: validating incoming data, pushing changes out with the N/https module the moment a record is saved, or reshaping records for another app.
Authentication rules changed recently, so older tutorials can steer you wrong.
Token-Based Authentication (TBA) is built on OAuth 1.0. You get a consumer key and secret from an integration record, plus a token ID and secret tied to a specific user and role. Every request is signed with HMAC-SHA256. It's stable, and many existing integrations use it.
OAuth 2.0 is the modern option and Oracle's clear direction. It comes in two flows:
Now the deadline. As of 2027.1, you can't create new integrations that use TBA for SOAP, REST, or RESTlets. Existing TBA integrations keep running for now, but Oracle has said support will end. Old NLAuth headers stop working entirely in 2027.1. And OAuth 2.0 doesn't work with SOAP at all.
Click to expandThe bottom line: if you're starting any NetSuite integration API project today, use OAuth 2.0. Access tokens are short-lived, so build token refresh into your app from the start.
Here's the setup path for a typical NetSuite integration API connection using REST web services and OAuth 2.0. Do all of it in a sandbox first. Seriously.
Go to Setup > Company > Enable Features, open the SuiteCloud tab, and turn on:
Save. Some records need extra features, so if you touch something like advanced inventory, check the NetSuite API documentation for that record.
Go to Setup > Integration > Manage Integrations > New. Give it a clear name, select OAuth 2.0, and pick the grant type. For the authorization code grant, add a redirect URI.
Choose your scopes, usually REST Web Services and RESTlets, and save. NetSuite shows the client ID and secret exactly once, so copy them into a vault right away.
Never run an integration under an administrator. Create a dedicated role with only what it needs:
Assign it to a dedicated integration user. Least privilege limits the damage if a credential leaks. Permission errors are also the most common reason a first call fails, so expect some back-and-forth.
Click to expandFor client credentials, go to Setup > Integration > OAuth 2.0 Client Credentials (M2M) Setup. Upload your public certificate and link it to the integration record, user, and role. Your app then signs a JWT with the private key and swaps it for an access token.
For the authorization code grant, the user approves access, and your app exchanges the returned code for access and refresh tokens.
Both flows use the same token endpoint: https://<account_id>.suitetalk.api.netsuite.com/services/rest/auth/oauth2/v1/token.
Older TBA setups generate a token ID and secret here instead. Just don't start a new integration that way.
Sandbox accounts have IDs like 1234567_SB1, which turn into 1234567-sb1 in the URL. Start with something harmless, like a GET on one customer record.
Postman works well here, and Oracle offers a ready-made Postman collection in the NetSuite API documentation. When the first 200 OK comes back, auth, permissions, and networking all work. Everything after that is business logic.
Here are two calls that show the NetSuite REST API at its most practical.
GET https://1234567.suitetalk.api.netsuite.com/services/rest/record/v1/customer/1234?fields=companyName,email,balance
Authorization: Bearer <access_token>
{
"id": "1234",
"companyName": "Northwind Supply",
"email": "ap@northwind.example",
"balance": 18250.00
}
The fields parameter keeps responses small, and expandSubResources=true pulls sublists like addresses in the same call. If your CRM stores its IDs in NetSuite, fetch by external ID with /customer/eid:CRM-00045.
POST https://1234567.suitetalk.api.netsuite.com/services/rest/query/v1/suiteql?limit=100
Authorization: Bearer <access_token>
Content-Type: application/json
Prefer: transient
{
"q": "SELECT c.id, c.companyname, SUM(t.foreigntotal) AS total FROM customer c JOIN transaction t ON t.entity = c.id WHERE t.type = 'SalesOrd' AND t.trandate >= TO_DATE('2026-01-01', 'YYYY-MM-DD') GROUP BY c.id, c.companyname"
}
This returns every customer with their total sales order value for the year. The Prefer: transient header is required. The response includes hasMore and totalResults, so you page through results by increasing the offset.
That's one SuiteQL call doing the work of hundreds of record requests.
NetSuite's main limit is concurrency: how many requests run at the same time across your account. That pool is shared by REST, SOAP, RESTlets, and every integration you run.
Base limits depend on your service tier:
Each SuiteCloud Plus license adds 10 more. So a Premium account with one license gets 25. Go over the limit, and REST answers with 429 Too Many Requests.
Click to expandAlso, REST returns up to 1,000 records per page, queries cap at 100,000 rows, and scripts burn usage units.
To keep your NetSuite integration API traffic healthy:
The best NetSuite API depends on the job. Here's a quick cheat sheet:
Most projects combine two or three. And if a marketplace add-on might already cover you, our breakdown of API vs plugin can help you weigh speed against flexibility.
One more decision: who builds and runs the integration?
Prebuilt connectors exist for Shopify, Salesforce, HubSpot, and many others. They're quick and cheap to start, but you live with the vendor's data mapping. Check whether the connector still relies on SOAP or TBA, because you'll inherit that migration.
iPaaS platforms like Celigo, Boomi, or Workato give you visual flows and lots of ready-made adapters. They work well for many systems with fairly standard logic. Costs grow with volume, though, and complex rules get awkward in a drag-and-drop editor.
A custom build gives you full control over mapping, error handling, and performance. It costs more upfront and pays off when your processes are unique or your volumes are high.
Click to expandIf you go custom, Incora can help. We design and build custom NetSuite integrations, migrate SOAP and TBA setups to REST with OAuth 2.0, and set up monitoring so you hear about issues before your finance team does. Our NetSuite integration services cover everything from a single NetSuite integration API connection to a full multi-system sync.
The NetSuite API landscape looks crowded, but the direction is simple. Build new integrations on REST with OAuth 2.0. Use queries for reads, RESTlets for multi-step operations, and scripts for real-time events. If SOAP or TBA still runs in production, put the migration on your roadmap now. And plan for concurrency from day one.
We can help you figure out what's actually slowing you down and what to build first.
Yes. NetSuite offers REST and SOAP web services (SuiteTalk), custom RESTlet endpoints, a SQL-style query language, and a JavaScript platform for server-side logic.
For most new projects, REST web services with OAuth 2.0. It's where Oracle invests, and every new NetSuite API feature lands there first. Add RESTlets or queries when your use case needs them.
Enable SuiteCloud features, create an integration record, set up a dedicated role, generate OAuth 2.0 credentials, and test in a sandbox.
Yes. The 2025.2 endpoint is the last planned one. New SOAP integrations are blocked from 2027.1, and SOAP is removed completely in 2028.2.
REST web services are Oracle's standard endpoints for records and queries. A RESTlet is a custom endpoint you write and deploy yourself, so you control exactly what it does and returns.
SuiteQL is NetSuite's SQL-based query language. It lets you join and filter records in one request, and you can run it over REST, inside scripts, or through SuiteAnalytics Connect.
Got no clue where to start? Why don’t we discuss your idea?