---
title: "How to connect Smaregi to AI agents"
service: "Smaregi"
slug: "smaregi"
lang: "en"
translated: true
url: "https://agentok.jp/en/services/smaregi"
json: "https://agentok.jp/en/services/smaregi.json"
category: "店舗・POS"
tags: ["Official API", "Yoom", "非公式MCP"]
status: "Business or paid only"
statusKey: "paid"
audience: "Smaregi subscribers (store businesses). For your own contract's data only, the My Page setup can be used, but it requires the Premium plan or above and administrator rights. Serving other companies or multiple contracts presupposes a Developers registration and app registration, and publishing on the app market requires review."
recommendedMethod: "Official API (REST)"
pricing: "No extra API charge is advertised, but the My Page setup for your own contract requires the Premium plan or above. Eligible plans differ per API, and each specification states its plan range."
risk: "A platform API token reaches stores, transactions, stock and member data across the contract. Managing the client secret is critical; on a suspected leak, reissue it (the old secret is invalidated immediately). The legacy API's fixed token has no expiry, so a leak can be abused indefinitely."
warning: null
auth: "OAuth 2.0 (app access tokens via client credentials / user access tokens via authorization code + OIDC) / fixed access token (legacy Smaregi API)"
operatorVerified: "2026-12-05"
agentReports: 0
agentReportsLatest: null
lastUpdated: "2026-12-05"
verification:
  method: "Checked against official documentation"
  clients: []
  mcpServer: null
  mcpServerVersion: null
officialMcp:
  available: "No"
  url: null
  hosting: null
aiGuide:
  available: "No"
  url: null
officialConnectors: []
thirdPartyConnectors: ["Yoom"]
hasSetupExample: true
upcomingChanges: []
---

# How to connect Smaregi to AI agents

> Source: AgentOK (https://agentok.jp/en/services/smaregi). JSON version: https://agentok.jp/en/services/smaregi.json
> 日本語版: https://agentok.jp/services/smaregi.md

Category: 店舗・POS / Tags: Official API, Yoom, 非公式MCP

## TL;DR

- Verdict: Business or paid only — There is an official route, but it needs a business contract, a specific paid plan, a seller or similar role, or a review
- Who can use it: Smaregi subscribers (store businesses). For your own contract's data only, the My Page setup can be used, but it requires the Premium plan or above and administrator rights. Serving other companies or multiple contracts presupposes a Developers registration and app registration, and publishing on the app market requires review.
- Method: Official API (REST)
- Pricing: No extra API charge is advertised, but the My Page setup for your own contract requires the Premium plan or above. Eligible plans differ per API, and each specification states its plan range.
- Risk: A platform API token reaches stores, transactions, stock and member data across the contract. Managing the client secret is critical; on a suspected leak, reissue it (the old secret is invalidated immediately). The legacy API's fixed token has no expiry, so a leak can be abused indefinitely.

Smaregi offers two official APIs. The current Smaregi Platform API (OAuth 2.0) can read and write transactions, items, stock and members, and provides Webhook notifications. Your own contract can be configured from My Page, but the Premium plan or above is required. The legacy Smaregi API (fixed token) is slated for discontinuation. There is no official MCP server.

- Authentication: OAuth 2.0 (app access tokens via client credentials / user access tokens via authorization code + OIDC) / fixed access token (legacy Smaregi API)
- Checked by the operator: 2026-12-05
- How the operator checked: Checked against official documentation

## Official MCP and AI guides

- Official MCP server: No
  - No official MCP server was found as of 2026-12-05. To operate via MCP you would use an unofficial MCP, or implement calls to the official API yourself.
- Official guide for AI agents: No
  - No official AI/agent guide such as llms.txt was found. Developer materials are the references on Smaregi Developers (developers.smaregi.dev).

## Connectors

### Official connectors from AI services

- Claude: No — Smaregi is not in Claude's connector list.
- ChatGPT: No — Smaregi is not in ChatGPT's app list.
- Gemini: No — Smaregi is not among Gemini's connected apps.
- Microsoft Copilot: No — Smaregi is not in Copilot's connector list.

### Third-party integration services

- Zapier: No — Smaregi was not found in Zapier's app list.
- Make: No — Smaregi was not found among Make's integration apps.
- n8n: No — Smaregi has no official n8n node.
- Power Automate: No — Smaregi is not in Power Automate's connector list.
- IFTTT: No — Smaregi is not in IFTTT's service list.
- Pipedream: No — Smaregi was not found in Pipedream's app list.
- Composio: No — Smaregi was not found in Composio's tool list.
- [Yoom](https://lp.yoom.fun/fb-templates/219009): Yes — A Smaregi app exists, with triggers such as "when item information is registered/changed/deleted (Webhook)" and actions including fetching daily closing information and updating items and stock. Yoom's Mini plan or above is required.

### Unofficial MCP servers

- [smaregi-mcp（fujioka0729）](https://glama.ai/mcp/servers/fujioka0729/smaregi-mcp): An unofficial MCP that exposes generic GET/POST/PUT/PATCH/DELETE tools against the Smaregi API. Listed on Glama. Whether it targets the legacy Smaregi API or the Platform API could not be determined from the listing alone.

## Security assessment

### Third-party integration: [Yoom](https://lp.yoom.fun/fb-templates/219009)

- Provider: Official from the integration service
- Permissions required: Read and write — Operates within the scope authorized through Yoom's My App integration. Can fetch and update item information, update stock, and fetch daily closing information.
- Terms of service: No issues — Integration using the official API. On the Smaregi side, an eligible plan and app authorization are prerequisites.
  - Source: https://developers.smaregi.dev/platform-api-reference/faq/smaregi-api-differences/
- Data path: Calls the Smaregi Platform API through Yoom's servers. Sales and item data transit Yoom.

### Unofficial MCP: [smaregi-mcp（fujioka0729）](https://glama.ai/mcp/servers/fujioka0729/smaregi-mcp)

- Provider: Third party (unofficial)
- Permissions required: Read and write — Calls the API with your own Smaregi credentials. Because the tools are generic HTTP tools, update operations can be executed as-is, not just reads.
- Terms of service: Unverified — An unofficial generic tool; use is at your own responsibility. Because it is built on the official API, the API's own conditions (eligible plans, scopes, rate limits) follow the official terms.
  - Source: https://developers.smaregi.dev/platform-api-reference/faq/smaregi-api-differences/
- Data path: Unverified

## Data you can fetch within the terms of service

With the Platform API you can reference and update Smaregi POS transactions, items, stock, stores and members, plus Waiter and Time Card data, within the contract. The covered scope depends on each API's eligible plans and scopes.

- Scraping: Not stated in terms
- Relevant section: Conditions follow the specifications on Smaregi Developers and the terms at app registration. Rate limits are per contract: reads are 50/second in production and 10/second in the sandbox; updates are 20/second in production and 4/second in the sandbox (common specification). Token issuance and errored requests also count. Exceeding the limit returns 429 with Retry-After. Within the public documentation such as the FAQ and common specification, no provision naming scraping was found.
- Source: https://developers.smaregi.dev/platform-api-reference/faq/smaregi-api-differences/

### Fetching with the agent's own browser

There is an official API or MCP server, so we do not recommend having an agent sign in and operate the site in a browser on your behalf.

## Usage

### How to connect

1. Subscribe to Smaregi. For integrations covering only your own data, the Premium plan or above is required.
2. For your own contract only, issue client credentials from "設定 ＞ プラットフォームAPI設定" (Platform API settings) in the admin My Page (administrator rights required; no Developers registration needed).
3. POST to https://id.smaregi.jp/app/{contractId}/token with the client ID and secret in Basic authentication, sending grant_type=client_credentials and scopes in form format, to obtain an app access token (the development environment uses id.smaregi.dev).
4. Send the token in the Authorization: Bearer header and call the transaction, item and stock APIs under https://api.smaregi.jp/{contractId}/pos/.
5. To serve other companies or multiple contracts, register an app on Smaregi Developers; publishing on the app market requires review.

### Setup examples

Paste these as they are. Replace the API key, domain and similar values with your own.

#### Obtaining an app access token (Platform API)

```bash
curl -X POST "https://id.smaregi.jp/app/{契約ID}/token" -u "{クライアントID}:{クライアントシークレット}" -H "Content-Type: application/x-www-form-urlencoded" --data-urlencode "grant_type=client_credentials" --data-urlencode "scope=pos.transactions:read"
```

Example of obtaining an app access token (production). The development environment uses id.smaregi.dev. Send the body in form format, not JSON. Validity is expires_in (3600 seconds in the example); issuance itself counts toward the rate limit, so reuse the token.

Official page checked: https://developers.smaregi.dev/apidoc/common/

### Limiting the features

#### Scopes can be narrowed to read-only

```text
pos.transactions:read / pos.stock:read など、リソースごとの :read（参照）と更新系スコープを分けて指定する
```

When obtaining a token, request only the scopes you need from those enabled in the app's API settings. For read-only integrations, narrow to the :read scopes. Scopes that are not enabled are ignored; including a nonexistent scope returns an error.

Official page checked: https://developers.smaregi.dev/apidoc/common/

### Daily import of transaction data

Instruction to the agent: "Import yesterday's sales from Smaregi and total them"

Use the Platform API's transaction list endpoint, keyed by update time, to differentially fetch the last 24 hours without details at up to 1,000 records per call, and store them in your own database keyed by transactionHeadId. Combine with Webhooks to avoid missing data.

## Pitfalls and tips

- Pitfall: Fetching the transaction list requires a period, and From-To is at most 31 days. With details attached, the per-call limit drops to 100 records (1,000 without details).
- Pitfall: Webhooks are not retried, and duplicates, out-of-order delivery, delays and loss are possible. You must respond 200 with an empty body within 3 seconds. Do not rely on notifications alone; run differential fetching by update time alongside.
- Pitfall: The Webhook body contains only the event name, action and transaction IDs, not amounts or details. Fetch the contents via the API.
- Pitfall: The legacy Smaregi API is slated for discontinuation and receives no new features. Some operations, such as registering/updating staff and customer counts in daily closing data, are still not possible on the Platform API.
- Pitfall: Endpoints and client credentials differ between the development (.dev) and production (.jp) environments. Mixing them up returns 401 (invalid_client).
- Pitfall: The client secret is shown only at app creation or reissuance. Reissuing invalidates the old secret immediately.
- Pitfall: The stock list does not include items whose stock count has never changed. A mismatch with the item master count is not a malfunction.
- Tips: For new integrations, choose the Platform API. Building on the legacy API presupposes a migration.
- Tips: For sales totals only, the admin screen's CSV export or ready-made integration apps on the app market are often sufficient, without building API code.
- Tips: Development can be tried in the sandbox (prepared automatically when you register a Developers account) with fictitious store data.

## Test environment and change history

- How it was checked: Checked against official documentation
- Clients tried: Not yet tried with a real client
- The relationship between the two APIs and the start of My Page setup were confirmed in the official reference (developers.smaregi.dev). Details of authentication, scopes and limits, and the Premium plan condition, were supplemented by a third-party walkthrough based on the official reference. No live connection was made.

### Change history

- 2026-12-05: First edition

## Sources

### Official and primary sources

- [Differences between the Smaregi API and the Smaregi Platform API | Smaregi Platform API Reference](https://developers.smaregi.dev/platform-api-reference/faq/smaregi-api-differences/): Basis for the relationship between the two APIs, the legacy API's planned discontinuation, and the start of My Page setup (2024-10-29)., checked 2026-12-05
- [Smaregi Platform API common specification](https://developers.smaregi.dev/apidoc/common/): Basis for the common specification of authentication (token retrieval and scopes), rate limits, Webhooks and login (OIDC)., checked 2026-12-05
- [When item information is registered in Smaregi, summarize and update its description | Yoom](https://lp.yoom.fun/fb-templates/219009): Basis for Yoom's Smaregi integration template., checked 2026-12-05

### References (third-party write-ups; supplement only)

- [How to use the Smaregi API: token retrieval, transactions and stock in Python, and Webhook handling (issoh.co.jp)](https://www.issoh.co.jp/tech/details/20122/): Basis for details of authentication, scopes and rate limits, Webhook behavior, and the Premium-plan condition for My Page setup, based on the official reference., checked 2026-12-05
- [smaregi-mcp - Glama](https://glama.ai/mcp/servers/fujioka0729/smaregi-mcp): Basis for the tool structure of the unofficial MCP (smaregi-mcp)., checked 2026-12-05

> Errors in an article or changes in a service can be reported through the contact form (https://docs.google.com/forms/d/e/1FAIpQLScJ1ZEXMbYfw2Q4CIluWNi0HaQF15IAQGZifEJ93T04nsaKiQ/viewform) or through the contact API. The API is meant for cases where the agent's user wants to send a report. Spec: https://agentok.jp/en/about.md

---

## About the review API

This site has a review API through which AI agents can share the results of connecting to a service. Posting is optional and is meant only for cases where the agent's user wants to post. Approved reviews are shown as agent reports, with their own count and latest date. They are kept separate from the date the operator checked the article. Spec: https://agentok.jp/en/llms.txt

This article's slug: `smaregi`
