HomeBlogComparison

SharePoint REST API vs Graph API: Which One Should Your Next Integration Call?

A white robot with a black visor wires small voxel team rooms to a central office bulletin board

For a new integration, call Microsoft Graph and use the SharePoint REST API (the /_api endpoints on your SharePoint site) only for the operations Graph does not offer, such as creating a site. Microsoft's own throttling guidance says Graph usually consumes fewer resources than REST or CSOM for the same work and asks developers to choose it when possible, and Graph's Selected permissions let an administrator give an app one site, one list or one file instead of every site in the tenant.

Both APIs are current. When Microsoft retired SharePoint Add-ins and Azure ACS in SharePoint Online on April 2, 2026, it stated that the retirement does not retire the SharePoint REST APIs, CSOM, JSOM or SharePoint Framework (Microsoft Learn). We covered the add-in side in SharePoint app hosting and modernization; this page is about which data API a script, a back-end job or an SPFx web part should talk to.

How the two APIs differ once you start from the operation

The SharePoint REST service lives on each site at https://{site_url}/_api/, uses OData syntax, and its endpoints "correspond to the types and members in the SharePoint client object models" (Microsoft Learn). Microsoft Graph lives at https://graph.microsoft.com/v1.0 and exposes SharePoint as sites, lists and list items, plus drives (document libraries) and the files in them. Microsoft's Graph page is explicit about one gap: read-only support for sites, "no ability to create new sites" (Microsoft Learn).

The same request, reading items from a list, looks like this in each. The REST form is copied from Microsoft's REST overview, which writes the token header in code notation; on the wire it is Authorization: Bearer followed by the token:

GET https://{site_url}/_api/lists/getbytitle('{list_name}')/items
Authorization: "Bearer " + accessToken
Accept: "application/json;odata=verbose"

The Graph form is copied from the Graph list-items reference; the path is relative to https://graph.microsoft.com/v1.0, and Column1,Column2 stand for the columns you want back:

GET /sites/{site-id}/lists/{list-id}/items?expand=fields(select=Column1,Column2)

Graph addresses a site by ID or by path, for example /sites/contoso.sharepoint.com:/teams/hr, and Microsoft publishes a mapping from REST URL patterns to Graph URL patterns for developers moving code across (Microsoft Learn). Graph's list filter works best on indexed columns and filters one indexed field at a time (Microsoft Learn).

The practical differences in one table

QuestionSharePoint REST API (/_api)Microsoft Graph
What it reachesThe SharePoint object model of one site: webs, lists, items, files, fields, permissions, and SharePoint search at /_api/search/querySites, lists, list items, drives and files across the tenant, tenant SharePoint settings, and other Microsoft 365 data such as Outlook mail with the same token
What it cannot doReach anything outside SharePointCreate sites; site resources are read-only
Narrowest app permissionEntra ID app permissions for SharePoint; app-only access to CSOM and REST must use a certificate, not a client secretSites.Selected, Lists.SelectedOperations.Selected, ListItems.SelectedOperations.Selected and Files.SelectedOperations.Selected, each granted a role of read, write, owner or full control
Throttling costNo predetermined resource unit cost; usually more than Graph for the same job, plus other internal limits1 resource unit for a single-item read, 2 for a multi-item query or any create, update or delete, 5 for any permission operation
BatchingOData $batchJSON batching; each request inside is throttled on its own
Also works on SharePoint ServerYes; $batch on SharePoint 2016 or laterNo; it is the Microsoft 365 cloud endpoint
ToolingAny HTTP client; PnP PowerShell for scriptsGraph SDKs, which already honor Retry-After; MSGraphClientV3 inside SPFx

Sources for the rows: throttling guidance, Entra ID app-only, Selected permissions, REST batching, REST overview, Graph throttling, SPFx API clients, PnP PowerShell; as of December 2026.

Throttling is shared, so the cheaper API leaves more room

SharePoint Online gives every application its own budget per tenant, measured in resource units, and every call the app makes counts against it "across all API endpoints, including Microsoft Graph, CSOM, and REST". For a tenant with up to 1,000 licenses that budget is 1,250 resource units a minute and 1,200,000 a day per app, as of December 2026 (Microsoft Learn). Because Graph calls have a published cost and REST calls do not, a nightly sync written against Graph is easier to size: 3,000 single-item reads cost 3,000 units, spread across the night.

When either API is throttled, SharePoint returns 429 or 503 with a Retry-After header, and throttled calls still count toward the limit, so retrying early makes it worse. Microsoft also asks you to "decorate" traffic with a User-Agent such as NONISV|CompanyName|AppName/Version; decorated traffic is prioritized over undecorated traffic (Microsoft Learn).

A worked decision for a 60-person firm

Illustrative. A 60-person engineering firm wants a nightly job that copies project numbers and client names from its accounting system into a SharePoint list called Projects, and it wants staff to keep using that list in the browser. Three questions settle it: who owns the app, what it may touch, and how it finds the list.

  • Ownership: the job runs as an app registration in Entra ID, owned by the IT lead, with a certificate. That rules out old ACS app registrations; they stopped working in SharePoint Online on April 2, 2026 (Microsoft Learn).
  • Access: grant Lists.SelectedOperations.Selected, then give the app the write role on the Projects list only. Consent alone grants nothing; the app has no access until the list grant is made, and revoking the consent cuts it off everywhere (Microsoft Learn).
  • Navigation: address the site by path in Graph, read the list once with expand=fields, then write changes. That is Graph throughout.

The grant itself is one Graph request, copied from Microsoft's Selected permissions page (shown at site level; the list-level call uses /sites/{siteid}/lists/{listid}/permissions). The ID and display name are Microsoft's sample values; replace them with your app registration's client ID and name. Microsoft's page also notes that making this grant needs a high permission, such as Sites.FullControl.All, so an administrator usually runs it:

POST https://graph.microsoft.com/v1.0/sites/{siteId}/permissions
Content-Type: application/json

{
  "roles": ["write"],
  "grantedToIdentities": [{
    "application": {
      "id": "89ea5c94-7736-4e25-95ad-3fa95f62b66e",
      "displayName": "Contoso Time Manager App"
    }
  }]
}

What would send the firm to REST: if the job also had to create a new project site for every new job number, that step cannot run on Graph today and goes to SharePoint's REST service or a tool built on it. If the list lived on a SharePoint Server farm, Graph would not reach it at all and REST or CSOM would be the only choice. If the firm later wants the same data on a page, an SPFx web part can call Graph through MSGraphClientV3 as the signed-in user (Microsoft Learn).

Graph API vs SharePoint API: the same question asked a different way

People who search "graph api vs sharepoint api" usually mean the same pair. "SharePoint API" is the everyday name for SharePoint's own REST service and client object model (CSOM); Microsoft's Graph documentation calls its part "the SharePoint API in Microsoft Graph" (Microsoft Learn). So the answer is the one above: Graph first, SharePoint's own API where Graph has no endpoint or the content is on premises. If your developer prefers a .NET client library over raw HTTP, read SharePoint CSOM vs REST API, and for the questions to put to a contractor before any code is written, see SharePoint API for small business.

Whichever API you choose, the app sees what its grant allows, so the site permissions underneath still matter; our SharePoint permissions guide covers owners and access reviews. If the integration is part of a wider intranet rebuild, Plan my SharePoint intranet and we will scope the app registrations with the site structure.

More on this topic: SharePoint and intranets guides.

Frequently asked questions

SharePoint REST API vs Graph: is the REST API being retired?

No. Microsoft's April 2026 add-in and ACS retirement notice states that it does not retire SharePoint REST APIs, CSOM, JSOM or SPFx. What changed is authentication: apps must use Microsoft Entra ID, not Azure ACS.

Graph API vs SharePoint API: which one throttles less?

Microsoft says Graph generally consumes fewer resource units than CSOM and REST for the same functionality and recommends choosing Graph when possible. Both draw on the same per-app budget, so a heavy REST job also slows a Graph job from the same app.

Can Microsoft Graph create a SharePoint site?

Not through its SharePoint API. Microsoft's Graph overview lists read-only support for site resources with no ability to create new sites, so site provisioning still goes through SharePoint's own REST service or tools built on it.

SharePoint Graph API vs REST API: can I give an app access to one site only?

Yes, on Graph. Consent the app to Sites.Selected (or the list, item or file equivalent) and then grant it a read, write, owner or full control role on the specific site. Without that grant the app has no access.

Sources

SharePoint Intranet Consulting

Discuss SharePoint Intranet Consulting for your business.

Tell us about your current systems, the result you need and your timeline. We will discuss the work, responsibilities and pricing before you decide on an engagement.

Explore SharePoint Intranet Consulting 845-203-3914