PageSourceSearch

https://docs.hazbase.com/assets/ApiAccessPage-CCOO7q2c.js

js hazbase.com collected 2026-10-05 06:32:28 UTC 11,210 bytes, 1 lines download raw bytes

1import{b as d,j as e,f as t,c as a,L as n,A as i,C as l}from"./index-BAAzACLV.js";function p(){const{i18n:r}=d(),s=(o,c)=>r.language.startsWith("en")?c:o;return e.jsxs("article",{className:"dev-page",children:[e.jsx("p",{className:"dev-eyebrow",children:"API ACCESS"}),e.jsx("h1",{children:s("APIの利用を始める","Start using the API")}),e.jsx("p",{className:"dev-lead",children:s("Developer Consoleでアプリを登録し、API・SDKへの接続に使う認証情報を発行できます。メール認証から始め、ブラウザやサーバーなど、利用する環境に合わせて接続を設定します。","Register your application in the Developer Console and create credentials for the API and SDK. Sign in with your email, then configure access for your browser application or server.")}),e.jsxs("div",{className:"dev-actions",children:[e.jsxs("a",{className:"dev-button",href:t,children:[s("アプリを登録する","Register an application"),e.jsx(a,{size:16})]}),e.jsxs(n,{className:"dev-link",to:"/start/day0",children:[s("まずサンプルを動かす","Run the sample first"),e.jsx(i,{size:16})]})]}),e.jsxs("section",{"aria-labelledby":"console-start",children:[e.jsx("h2",{id:"console-start",children:s("コンソールで利用を始める","Get started in the console")}),e.jsxs("ol",{className:"api-access-steps",children:[e.jsxs("li",{children:[e.jsx("h3",{children:s("メール認証と利用者情報の登録","Verify your email and complete your profile")}),e.jsx("p",{children:s("メールアドレスを入力し、届いた6桁の確認コードでログインします。初回は利用者情報を登録します。個人事業・個人の場合は、企業名を省略できます。","Enter your email address and sign in with the six-digit code. Complete your profile on your first visit. Company name is optional for individuals and sole proprietors.")})]}),e.jsxs("li",{children:[e.jsx("h3",{children:s("アプリを登録する","Register your application")}),e.jsx("p",{children:s("「アプリを登録」から、サービスを識別できるアプリ名を登録します。1つのアプリの中で、TestとLiveそれぞれの接続を管理できます。","Select “Reg
1ister application” and enter a name that identifies your service. Manage Test and Live connections within the same application.")})]}),e.jsxs("li",{children:[e.jsx("h3",{children:s("接続設定を追加する","Add a connection")}),e.jsx("p",{children:s("アプリ画面の右上でTestまたはLiveを選び、「接続設定を追加」を開きます。接続名と「ブラウザ・Webアプリ」または「サーバー」を指定します。接続設定は、用途に応じて複数追加できます。","Choose Test or Live at the top right of the application page, then select “Add connection”. Enter a connection name and choose “Browser / web application” or “Server”. Add separate connections for each use as needed.")})]})]}),e.jsx("p",{children:s("無料のDeveloperプランの利用枠から開始できます。適用中の上限と当月のリクエスト数は、コンソールの「利用状況」で確認できます。「キー別のリクエスト数を見る」から、接続・キーごとの内訳も確認できます。","Start with the free Developer plan allowance. Check your current limits and monthly request count under “Usage” in the console. Select “View requests by key” for a breakdown by connection and key.")})]}),e.jsxs("section",{children:[e.jsx("h2",{children:s("接続方法に合わせて設定する","Configure access for your application")}),e.jsx("div",{className:"dev-table-wrap",children:e.jsxs("table",{className:"dev-table",children:[e.jsx("thead",{children:e.jsxs("tr",{children:[e.jsx("th",{children:s("接続方法","Access method")}),e.jsx("th",{children:s("コンソールで行うこと","What to configure")})]})}),e.jsxs("tbody",{children:[e.jsxs("tr",{children:[e.jsx("td",{children:s("ブラウザ・Webアプリ","Browser / web application")}),e.jsx("td",{children:s("接続元URLを登録し、発行された公開用キーをAPI・SDKの設定に使用します。公開用キーはアプリを識別するためのもので、ユーザーの認証情報ではありません。","Register your application origins and use the generated publishable key in your API or SDK configuration. This key identifies the application; it does not authenticate a user.")})]}),e.jsxs("tr",{children:[e.jsx("td",{children:s("サーバー","Server")}),e.jsx("td",{children:s("接続設定のサーバー用認証情報を発行し、サーバー側で安全に保管します。接続画面のコード例を使ってAPI・SDKに設定できます。秘密鍵をブラウザへ含めないでください。","Create server credentials for the connection and store them securely on your server. Use the code example on the connection page to configure API or SDK access. Keep the private key out of browser code.")})]}),e.jsxs("tr",{children:[e.jsx("td",{children:s("ユーザーごとの認証","User authentication")}),e.jsx("td",{children:s("ユーザー単位の認証が必要な場合は、作成した接続の「ユーザー認証を設定」からhazBaseログインや既存の認証基盤との連携を追加できます。","When you need per-user authentication, select “Configure user authentication” on the connection to add hazBase login or integrate an existing identity provider.")})]})]})]})}),e.jsx("p",{children:s("APIの接続先は https://api.hazbase.com です。コンソールはアプリ・認証情報・利用状況を管理する画面として使用します。","Use https://api.hazbase.com as the API endpoint. The console is where you manage applications, credentials and usage.")})]}),e.jsxs("section",{children:[e.jsx("h2",{children:s("用途に合う入口を選ぶ","Choose where to start")}),e.jsx("div",{className:"dev-table-wrap",children:e.jsxs("table",{className:"dev-table",children:[e.jsx("thead",{children:e.jsxs("tr",{children:[e.jsx("th",{children:s("目的","Goal")}),e.jsx("th",{children:s("できること","What you can do")}),e.jsx("th",{children:s("参照先","Guide")})]})}),e.jsxs("tbody",{children:[e.jsxs("tr",{children:[e.jsx("td",{children:s("まず動きを理解したい","Explore the workflow")}),e.jsx("td",{children:s("Day 0キットで、資産の登録から発行・移転・履歴の確認までを試せます。APIの利用申請は不要です。","Use the Day 0 kit to explore asset registration, issuance, transfers and history without applying for API access.")}),e.jsx("td",{children:e.jsx(n,{to:"/start/day0",children:s("クイックスタート","Quickstart")})})]}),e.jsxs("tr",{children:[e.jsx("td",{children:s("実装方法を調べたい","Plan an implementation")}),e.jsx("td",{children:s("用途別の構成、データモデル、SDKのコード例を確認できます。","Review architectures, data models and SDK examples for each use case.")}),e.jsx("td",{children:e.jsx(n,{to:"/patterns",children:s("用途別実装パターン","Implementation patterns")})})]}),e.jsxs("tr",{children:[e.jsx("td",{children:s("API・SDKを接続したい","Connect to the API or SDK")}),e.jsx("td",{children:s("コンソールでアプリと接続を登録し、認証情報と接続用のコード例を確認できます。","Register your application and connections in the console to obtain credentials and connection code examples.")}),e.jsx("td",{children:e.jsx("a",{href:t,children:s("アプリを登録する","Register an application")})})]})]})]})})]}),e.jsxs("section",{children:[e.jsx("h2",{children:s("公開情報のAPIへ接続する","Connect to a public information API")}),e.jsx("p",{children:s("対応チェーンの一覧は、次のリクエストで確認できます。この参照用APIは、認証情報を付けずに呼び出せます。","Retrieve the supported-chain list with the following request. This read-only endpoint can be called without credentials.")}),e.jsx(l,{language:"bash",code:"curl --fail --show-error https://api.hazbase.com/api/meta/chains"}),e.jsx("p",{children:s("HTTP 200とJSON形式の応答を確認します。このリクエストは資産の発行や移転を行いません。他のAPIに必要な認証・権限は、それぞれの仕様を確認してください。","Check for an HTTP 200 response containing JSON. This request does not issue or transfer assets. Check each endpoint’s specification for its authentication and permission requirements.")}),e.jsxs(n,{className:"dev-link",to:"/reference/http",children:[s("HTTP APIの仕様を見る","Read the HTTP API reference"),e.jsx(i,{size:16})]})]}),e.jsxs("section",{children:[e.jsx("h2",{children:s("利用者認証と資産操作","User authentication and asset operations")}),e.jsx("p",{children:s("ウォレットや資産を扱うAPIでは、各機能に対応する利用者セッション、署名、操作権限が必要です。APIへの接続確認と、特定の資産を操作できることは別々に確認します。","Wallet and asset APIs require the user session, signatures and permissions specified for each operation. Verify connectivity separately from authorization to operate on a particular asset.")}),e.jsx("p",{children:s("Day 0キットと配布中のMCPサンプルは、サンプル環境を操作します。APIの接続先を指定するだけで実サービスの発行・移転へ切り替わるものではありません。実サービスと連携する際は、認証、承認、実行結果の照合、監査記録を組み込みます。","The Day 0 kit and distributed MCP sample operate a sample environment. Setting an API endpoint alone does not connect their issuance and transfers to a production service. Production integration includes authentication, approvals, result reconciliation and audit records.")}),e.jsxs("div",{className:"dev-actions",children:[e.jsxs(n,{className:"dev-link",to:"/guides/authentication",children:[s("認証とウォレット","Authentication and wallets"),e.jsx(i,{size:16})]}),e.jsxs(n,{className:"dev-link",to:"/guides/production",children:[s("導入・運用ガイド","Deployment and operations"),e.jsx(i,{size:16})]})]})]}),e.jsxs("section",{children:[e.jsx("h2",{children:s("導入相談で確認すること","What to cover in an integration discussion")}),e.jsx("p",{children:s("対象資産と実現したいサービス、利用予定の機能、既存システムの構成をお知らせください。想定する利用量や開始時期が分かると、接続方法や運用条件を具体的にご案内できます。未定の項目があってもご相談いただけます。","Tell us about your assets, service, required features and existing systems. Expected usage and timing help us discuss connection and operating requirements. You can contact us before all details are decided.")}),e.jsxs("a",{className:"dev-button",href:"https://lp.hazbase.com/#consultation",children:[s("技術・導入について相談する","Discuss your integration"),e.jsx(a,{size:16})]})]})]})}export{p as default};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.