Ask your AI

Copy this and paste it into ChatGPT, Claude or another assistant to get an answer based on this site.

How do I connect BASE to an AI agent? Please use this URL as a reference:
https://agentok.jp/en/services/base.md
EC

How to connect BASE to AI agents

TL;DR

The short answer
VerdictOfficial, individuals OK Individuals can connect through an official route (MCP, connector or API) without a business contract or review
Who can use itIndividuals and companies running a shop on BASE. API v2 is for your own shop only, and you can issue a token with no prior review. API v1 (for apps integrating with other people's shops) requires registration and BASE's approval.
MethodOfficial API (REST)
PricingBoth API v1 and v2 are free to use (API Terms of Use, Article 4 and Article 5-6). The terms note that v2 may become paid in the future with prior notice. BASE's own shop fees are separate.
RiskAn API v2 token can read and write your shop's orders, which include personal information. The terms prohibit disclosing or sharing credentials with third parties, and require immediate invalidation and notification to BASE if a leak is suspected.

BASE offers two official APIs. With API v2, a shop owner can issue a Personal Access Token for their own shop with no review, and operate orders, items and stock. API v1 uses OAuth 2.0 and can integrate with other people's shops, but requires registration and BASE's approval. Both are free. There is no official MCP server.

AuthenticationPersonal Access Token (API v2) / OAuth 2.0 (API v1)
Checked by the operator2026.12.05
How the operator checkedChecked against official documentation

For AI agents: Markdown ・ JSON

Official MCP and AI guides

Official MCP serverNo

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 agentsNo

No official AI/agent guide such as llms.txt was found. Developer materials are the API documentation on BASE Developers.

Connectors

Official connectors from AI services

Not supported: Claude, ChatGPT, Gemini, Microsoft Copilot

Third-party integration services

  • Yoom

    A BASE app exists, and templates are published that flow order information into spreadsheets and other tools using the "when an order occurs" trigger.

Not supported: Zapier, Make, n8n, Power Automate, IFTTT, Pipedream, Composio

Unofficial MCP servers

Published by someone other than the provider. The provider does not guarantee how they work or how safe they are.

  • BASE コネクタ(AnythingMCP/HelpCode)

    A third-party MCP connector that uses the API v2 Personal Access Token, advertised with 14 tools for orders and items. Whether it is hosted or local could not be determined from the guide alone.

Security assessment

For each available connection method: who provides it, the permissions it requires, how the terms treat it, and the data path. Items we could not confirm are marked Unverified.

Third-party integrationYoomOfficial from the integration service
Permissions requiredUnverified

Operates with the permissions of the BASE account connected to Yoom. The authorization method and permission scope could not be determined from Yoom's published information alone.

Terms of serviceConditional

Integration is premised on BASE's API terms of use. Details of the authorization method are unverified.

Source: relevant section of the terms

Data pathPasses through Yoom's servers. Order information, including buyers' personal information, transits Yoom.
Unofficial MCPBASE コネクタ(AnythingMCP/HelpCode)Third party (unofficial)
Permissions requiredRead and write

Put your own shop's API v2 token in the BASE_ACCESS_TOKEN environment variable. Permissions are within the token's scope.

Terms of serviceUnverified

Article 5-3 of the API Terms of Use prohibits disclosing or sharing credentials with third parties. If the service is hosted and you hand over your token, it may conflict; confirm the delivery model before use.

Source: relevant section of the terms

Data pathUnverified

Data you can fetch within the terms of service

API v2 may be used only within the purpose of operating and managing your own shop (API Terms of Use, Article 5-2(2)). You can retrieve orders, items, categories and delivery companies, and update items and order statuses.

ScrapingProhibited

Article 8 of the API Terms of Use prohibits use for competing services, selling the obtained information, exceeding call limits, and circumventing technical restrictions (competing use carries a penalty of twice the profits, Article 16(5)). Personal information obtained via v2 must not be used or provided to third parties beyond the stated purpose (Article 5-5). BASE's main terms of service also prohibit accessing or obtaining information by crawling, scraping or similar means.

Source: relevant section of the terms of service

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. Open a shop on BASE (individuals can).
  2. For your own shop only, use API v2: issue a Personal Access Token on BASE Developers (developers.thebase.com/apiv2). No prior review or approval is required (API Terms of Use, Article 5-2(1)). The expiry is chosen at issuance and cannot be changed later.
  3. Call the API with the token in the Authorization: Bearer header.
  4. To build an app that integrates with other people's shops, use API v1: register with BASE Developers, obtain approval, receive a client_id / client_secret, and integrate via OAuth 2.0 (authorization code plus refresh token).

Setup examples

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

Fetching the item list (API v1, example from the official documentation)
curl https://api.thebase.in/1/items -H "Authorization: Bearer {Access_Token}"

An API v1 example. Endpoints are under https://api.thebase.in/1/, and authentication sends the OAuth 2.0 access token as a Bearer token.

Official page checked: https://docs.thebase.in/api/

Limiting the features

API v1 OAuth scopes
read_users(デフォルト) / read_users_mail / read_items / read_orders / read_savings / write_items / write_orders

In v1, read and write are separated by scope. Request only the scopes you need when integrating. In v2, you choose the scopes and expiry when issuing the token.

Official page checked: https://docs.thebase.in/api/

Checking orders and dispatching

Instruction to the agent

List today's orders, and register tracking numbers for the ones already shipped

Search orders with API v2 and register the carrier and tracking number on dispatched orders. Registering a dispatch makes BASE email the buyer.

Updating stock

Instruction to the agent

Tell me which items are close to selling out, and fix their stock counts in bulk

Fetch items and stock with API v1's GET /1/items and update stock counts with POST /1/items/edit_stock.

Pitfalls and tips

Pitfalls

  • An API v2 token's expiry is fixed at issuance and cannot be changed later. An expired token returns 401.
  • API v1 limits are 5,000 calls per hour and 100,000 per day (per user). The hourly limit resets at minute 00.
  • The official documentation describes the API as beta, and specifications may change. Changes are posted on the BASE Developers dashboard.
  • The whole-shop search API in v1 (GET /1/search) stopped accepting new applications on 2022-02-21.
  • Information obtained via API v2 may be used only within the purpose of operating and managing your own shop. Analyzing other shops' data or selling data violates the terms.
  • Credentials must not be disclosed or shared with third parties (API Terms of Use, Article 5-3). For hosted services that hold your token, confirm their delivery model first.
  • Registering a dispatch makes BASE email the buyer, and cancelling an order involves a refund. Put a confirmation step before write operations when delegating them to an agent.

Tips

  • For automating your own shop only, API v2 is the shortest path: no review and no OAuth implementation.
  • If you are building a service that handles multiple shops or other people's shops, use API v1 (review required). Choose it when your use exceeds v2's purpose scope.
  • Yoom suits quickly building no-code order integrations. Check its authorization method and permission scope beforehand, and prefer the official API where an API token suffices.

Test environment and change history

How it was checkedChecked against official documentation
Clients triedNot yet tried with a real client

API v2's no-review rule, free use and purpose scope were confirmed in the current text of the API Terms of Use (revised 2026-09-29). API v1's OAuth, scopes and limits were confirmed in the official developer documentation. Details of API v2's token specification (scope names, expiry, error formats) were supplemented by a third-party connector guide. No BASE account was created.

Change history

  • First edition

Sources

Official and primary sources

Pages published by the service provider, the integration provider or the MCP author about their own product.

References (third-party write-ups)

Third-party blogs and roundups. We use them only to supplement facts confirmed in official sources.

Related articles

How to connect ChatGPT (OpenAI) to AI agents

Official, individuals OK

How to connect Discord to AI agents

Official, individuals OK

How to connect Instagram to AI agents

Business or paid only

How to connect Reddit to AI agents

Official, individuals OK