openapi: 3.0.1
info:
  title: Tomba
  description: |-
    Tomba API は、仕事用のメールアドレス、電話番号、企業データを REST で検索、検証、エンリッチします。

    ## はじめに

    すべてのリクエストで、API キーとシークレットを `X-Tomba-Key` ヘッダーと `X-Tomba-Secret` ヘッダーに入れて送信します。どちらも[ダッシュボード](https://app.tomba.io/api)で作成します。[認証](https://docs.tomba.io/ja/authentication)を参照してください。

    ```sh
    curl 'https://api.tomba.io/v1/email-finder?domain=stripe.com&first_name=Jane&last_name=Doe' \
      -H "X-Tomba-Key: $TOMBA_API_KEY" \
      -H "X-Tomba-Secret: $TOMBA_SECRET_KEY"
    ```

    ## ベース URL とバージョニング

    すべてのエンドポイントは `https://api.tomba.io/v1` から提供されます。後方互換性のある変更は、新しいバージョンのパスなしでリリースされます。

    ## レート制限とクレジット

    制限はプランごと、エンドポイントごとに適用されます。レート制限のあるエンドポイントはすべてのレスポンスでレート制限ヘッダーを返し、制限を超えたリクエストには `Retry-After` ヘッダー付きの `429 Too Many Requests` が返されます。制限とヘッダーについては[レート制限](https://docs.tomba.io/ja/rate-limits)を、各エンドポイントの消費クレジットについては[クレジットと利用量](https://docs.tomba.io/ja/usage-and-quotas)を参照してください。

    ## エラー

    認証情報がない、形式が正しくない、または期限切れの場合は、`errors.type` が `authentication_failed` または `api_key_expired` の `400` が返されます。どのアカウントとも一致しない認証情報には `401` が返されます。ステータスコードだけでなく `errors.type` で分岐します。[エラー](https://docs.tomba.io/ja/error-handling)を参照してください。

    ## タイムアウト

    クライアントのタイムアウトは 180秒以上に設定します。検索と検証はリモートのメールサーバーや Web サイトに対してリアルタイムで実行されるため、応答時間は変動します。大量の処理には[一括ジョブ](https://docs.tomba.io/ja/bulks)を使用します。

    ## MCP サーバー

    AI アシスタントは、`https://mcp.tomba.io/mcp` の MCP サーバーを通じて同じデータを使用できます。[リモート MCP サーバー](https://docs.tomba.io/ja/llm/remote-mcp/introduction)を参照してください。
  termsOfService: https://tomba.io/legal/terms-of-service
  contact:
    name: Tomba technology web service LLC
    url: https://tomba.io
    email: info@tomba.io
  license:
    name: Apache 2.0
    url: http://www.apache.org/licenses/LICENSE-2.0.html
  version: 1.0.0
servers:
  - url: https://api.tomba.io/v1
    description: 本番サーバー
paths:
  /me:
    $ref: "paths/me.yaml"
  /reveal/search:
    $ref: "paths/reveal_search.yaml"
  /domain-search:
    $ref: "paths/domainsearch.yaml"
  /email-finder:
    $ref: "paths/emailfinder.yaml"
  /email-verifier:
    $ref: "paths/emailverifier.yaml"
  /phone-finder:
    $ref: "paths/phonefinder.yaml"
  /phone-validator:
    $ref: "paths/phonevalidator.yaml"
  /email-sources:
    $ref: "paths/emailsources.yaml"
  /domain-status:
    $ref: "paths/domainstatus.yaml"
  /email-count:
    $ref: "paths/emailcount.yaml"
  /domain-suggestions:
    $ref: "paths/domainsuggestions.yaml"
  /email-format:
    $ref: "paths/emailformat.yaml"
  /location:
    $ref: "paths/location.yaml"
  /similar:
    $ref: "paths/similar.yaml"
  /technology:
    $ref: "paths/technology.yaml"
  /author-finder:
    $ref: "paths/authorfinder.yaml"
  /linkedin:
    $ref: "paths/linkedin.yaml"
  /enrich:
    $ref: "paths/enrich.yaml"
  /companies/find:
    $ref: "paths/companies_find.yaml"
  /people/find:
    $ref: "paths/people_find.yaml"
  /combined/find:
    $ref: "paths/combined_find.yaml"
  /bulk/{type}:
    $ref: "paths/bulk_{type}.yaml"
  /bulk/{type}/{id}:
    $ref: "paths/bulk_{type}_{id}.yaml"
  /bulk/{type}/{id}/progress:
    $ref: "paths/bulk_{type}_{id}_progress.yaml"
  /bulk/{type}/{id}/download:
    $ref: "paths/bulk_{type}_{id}_download.yaml"
  /bulk/{type}/{id}/estimate:
    $ref: "paths/bulk_{type}_{id}_estimate.yaml"
  /bulk/{type}/{id}/history:
    $ref: "paths/bulk_{type}_{id}_history.yaml"
  /bulk/{type}/{id}/cancel:
    $ref: "paths/bulk_{type}_{id}_cancel.yaml"
  /bulk/{type}/{id}/retry:
    $ref: "paths/bulk_{type}_{id}_retry.yaml"
  /bulk/{type}/{id}/rename:
    $ref: "paths/bulk_{type}_{id}_rename.yaml"
  /bulk/{type}/{id}/archive:
    $ref: "paths/bulk_{type}_{id}_archive.yaml"
  /bulk/{type}/{id}/restore:
    $ref: "paths/bulk_{type}_{id}_restore.yaml"
  /bulk/{type}/{id}/delete:
    $ref: "paths/bulk_{type}_{id}_delete.yaml"
  /bulk/types:
    $ref: "paths/bulk_types.yaml"
  /bulk/stats:
    $ref: "paths/bulk_stats.yaml"
  /bulk/webhook-secret:
    $ref: "paths/bulk_webhook-secret.yaml"
  /bulk/webhook-secret/rotate:
    $ref: "paths/bulk_webhook-secret_rotate.yaml"
  /sla/{source}/{type}:
    $ref: "paths/sla_{source}_{type}.yaml"
  /sla/{source}/{type}/{id}:
    $ref: "paths/sla_{source}_{type}_{id}.yaml"
  /sla/{source}/{type}/{id}/progress:
    $ref: "paths/sla_{source}_{type}_{id}_progress.yaml"
  /sla/{source}/{type}/{id}/launch:
    $ref: "paths/sla_{source}_{type}_{id}_launch.yaml"
  /sla/{source}/{type}/{id}/download:
    $ref: "paths/sla_{source}_{type}_{id}_download.yaml"
  /leads:
    $ref: "paths/leads.yaml"
  /leads/{leadId}:
    $ref: "paths/leads_{leadId}.yaml"
  /leads/{email}/exist:
    $ref: "paths/leads_{email}_exist.yaml"
  /attributes:
    $ref: "paths/attributes.yaml"
  /attributes/{attributeId}:
    $ref: "paths/attributes_{attributeId}.yaml"
  /leads_lists:
    $ref: "paths/leads_lists.yaml"
  /leads_lists/{listId}:
    $ref: "paths/leads_lists_{listId}.yaml"
  /keys:
    $ref: "paths/keys.yaml"
  /keys/{keyId}:
    $ref: "paths/keys_{keyId}.yaml"
  /usage:
    $ref: "paths/usage.yaml"
  /logs:
    $ref: "paths/logs.yaml"
  /logs/{logId}:
    $ref: "paths/logs_{logId}.yaml"
  /rate-limits:
    $ref: "paths/ratelimits.yaml"
  /flag:
    $ref: "paths/flag.yaml"
  /mcp:
    $ref: "paths/mcp.yaml"
components:
  parameters:
    BulkIdParam:
      $ref: "components/parameters/BulkIdParam.yaml"
    DirectionParam:
      $ref: "components/parameters/DirectionParam.yaml"
    DownloadFileParam:
      $ref: "components/parameters/DownloadFileParam.yaml"
    ArchivedParam:
      $ref: "components/parameters/ArchivedParam.yaml"
    BulkStatusParam:
      $ref: "components/parameters/BulkStatusParam.yaml"
    BulkExpiredParam:
      $ref: "components/parameters/BulkExpiredParam.yaml"
    BulkNameQueryParam:
      $ref: "components/parameters/BulkNameQueryParam.yaml"
    BulkTypeParam:
      $ref: "components/parameters/BulkTypeParam.yaml"
    BulkTypeOrExportParam:
      $ref: "components/parameters/BulkTypeOrExportParam.yaml"
    LimitParam:
      $ref: "components/parameters/LimitParam.yaml"
    PageParam:
      $ref: "components/parameters/PageParam.yaml"
  schemas:
    RevealSearchRequest:
      $ref: "components/schemas/RevealSearchRequest.yaml"
    RevealFilters:
      $ref: "components/schemas/RevealFilters.yaml"
    SearchFilter:
      $ref: "components/schemas/SearchFilter.yaml"
    PremiumSearchFilter:
      $ref: "components/schemas/PremiumSearchFilter.yaml"
    RevealSearchResponse:
      $ref: "components/schemas/RevealSearchResponse.yaml"
    RevealMeta:
      $ref: "components/schemas/RevealMeta.yaml"
    RevealData:
      $ref: "components/schemas/RevealData.yaml"
    Company:
      $ref: "components/schemas/Company.yaml"
    Account:
      $ref: "components/schemas/Account.yaml"
    DomainSearch:
      $ref: "components/schemas/DomainSearch.yaml"
    EmailFinder:
      $ref: "components/schemas/EmailFinder.yaml"
    EmailSource:
      $ref: "components/schemas/EmailSource.yaml"
    FinderVerification:
      $ref: "components/schemas/FinderVerification.yaml"
    PhoneData:
      $ref: "components/schemas/PhoneData.yaml"
    EmailVerifier:
      $ref: "components/schemas/EmailVerifier.yaml"
    EnrichmentPersonAPI:
      $ref: "components/schemas/EnrichmentPersonAPI.yaml"
    EnrichmentCompanyAPI:
      $ref: "components/schemas/EnrichmentCompanyAPI.yaml"
    EnrichmentCombinedAPI:
      $ref: "components/schemas/EnrichmentCombinedAPI.yaml"
    EmailCount:
      $ref: "components/schemas/EmailCount.yaml"
    Location:
      $ref: "components/schemas/Location.yaml"
    EmailSources:
      $ref: "components/schemas/EmailSources.yaml"
    EmailFormat:
      $ref: "components/schemas/EmailFormat.yaml"
    DomainSimilar:
      $ref: "components/schemas/DomainSimilar.yaml"
    DomainTechnology:
      $ref: "components/schemas/DomainTechnology.yaml"
    PhoneFinder:
      $ref: "components/schemas/PhoneFinder.yaml"
    Lead:
      $ref: "components/schemas/Lead.yaml"
    LeadAttribute:
      $ref: "components/schemas/LeadAttribute.yaml"
    LeadsList:
      $ref: "components/schemas/LeadsList.yaml"
    APIKey:
      $ref: "components/schemas/APIKey.yaml"
    Usage:
      $ref: "components/schemas/Usage.yaml"
    Log:
      $ref: "components/schemas/Log.yaml"
    OperationSuccess:
      $ref: "components/schemas/OperationSuccess.yaml"
    APIErrorResponse:
      $ref: "components/schemas/APIErrorResponse.yaml"
    BulkCreate:
      $ref: "components/schemas/BulkCreate.yaml"
    BulkJob:
      $ref: "components/schemas/BulkJob.yaml"
    BulkConfig:
      $ref: "components/schemas/BulkConfig.yaml"
    BulkMetrics:
      $ref: "components/schemas/BulkMetrics.yaml"
    BulkBucket:
      $ref: "components/schemas/BulkBucket.yaml"
    BulkCredits:
      $ref: "components/schemas/BulkCredits.yaml"
    BulkProgress:
      $ref: "components/schemas/BulkProgress.yaml"
    BulkEstimate:
      $ref: "components/schemas/BulkEstimate.yaml"
    BulkEvent:
      $ref: "components/schemas/BulkEvent.yaml"
    BulkTypeInfo:
      $ref: "components/schemas/BulkTypeInfo.yaml"
    BulkStats:
      $ref: "components/schemas/BulkStats.yaml"
    BulkWebhookSecret:
      $ref: "components/schemas/BulkWebhookSecret.yaml"
    BulkActionResult:
      $ref: "components/schemas/BulkActionResult.yaml"
    BulkPutRename:
      $ref: "components/schemas/BulkPutRename.yaml"
    PaginationMeta:
      $ref: "components/schemas/PaginationMeta.yaml"
    APIError:
      $ref: "components/schemas/APIError.yaml"
    DomainSuggestionsResponse:
      $ref: "components/schemas/DomainSuggestionsResponse.yaml"
    DomainSuggestion:
      $ref: "components/schemas/DomainSuggestion.yaml"
    SuggestionsMeta:
      $ref: "components/schemas/SuggestionsMeta.yaml"
    LinkedinFinder:
      $ref: "components/schemas/LinkedinFinder.yaml"
    LinkedinFinderData:
      $ref: "components/schemas/LinkedinFinderData.yaml"
    LinkedinFinderSource:
      $ref: "components/schemas/LinkedinFinderSource.yaml"
    LinkedinFinderVerification:
      $ref: "components/schemas/LinkedinFinderVerification.yaml"
    AuthorFinder:
      $ref: "components/schemas/AuthorFinder.yaml"
    AuthorInfo:
      $ref: "components/schemas/AuthorInfo.yaml"
    FlagCreateRequest:
      $ref: "components/schemas/FlagCreateRequest.yaml"
    FlagItem:
      $ref: "components/schemas/FlagItem.yaml"
    FlagResponse:
      $ref: "components/schemas/FlagResponse.yaml"
    FlagListResponse:
      $ref: "components/schemas/FlagListResponse.yaml"
    RateLimits:
      $ref: "components/schemas/RateLimits.yaml"
    RouteLimits:
      $ref: "components/schemas/RouteLimits.yaml"
    PhoneValidator:
      $ref: "components/schemas/PhoneValidator.yaml"
    EnrichmentPersonData:
      $ref: "components/schemas/EnrichmentPersonData.yaml"
    EnrichmentCompanyData:
      $ref: "components/schemas/EnrichmentCompanyData.yaml"
  responses:
    BulkListResponse:
      $ref: "components/responses/BulkListResponse.yaml"
    BulkDetailResponse:
      $ref: "components/responses/BulkDetailResponse.yaml"
    BulkCreateResponse:
      $ref: "components/responses/BulkCreateResponse.yaml"
    BulkProgressResponse:
      $ref: "components/responses/BulkProgressResponse.yaml"
    BulkNotFoundError:
      $ref: "components/responses/BulkNotFoundError.yaml"
    BulkStateError:
      $ref: "components/responses/BulkStateError.yaml"
    BulkLimitError:
      $ref: "components/responses/BulkLimitError.yaml"
    SuccessResponse:
      $ref: "components/responses/SuccessResponse.yaml"
    ValidationError:
      $ref: "components/responses/ValidationError.yaml"
    NotFoundError:
      $ref: "components/responses/NotFoundError.yaml"
    RateLimitError:
      $ref: "components/responses/RateLimitError.yaml"
    BadRequestError:
      $ref: "components/responses/BadRequestError.yaml"
    UnauthorizedError:
      $ref: "components/responses/UnauthorizedError.yaml"
    PaymentRequiredError:
      $ref: "components/responses/PaymentRequiredError.yaml"
    BurstRateLimitError:
      $ref: "components/responses/BurstRateLimitError.yaml"
    ClaimedEmailError:
      $ref: "components/responses/ClaimedEmailError.yaml"
    ServerError:
      $ref: "components/responses/ServerError.yaml"
    ForbiddenError:
      $ref: "components/responses/ForbiddenError.yaml"
    ProxyError:
      $ref: "components/responses/ProxyError.yaml"
    ConflictError:
      $ref: "components/responses/ConflictError.yaml"
  securitySchemes:
    BearerAuth:
      $ref: "components/securitySchemes/BearerAuth.yaml"
    Tomba-Api-Key:
      $ref: "components/securitySchemes/Tomba-Api-Key.yaml"
    Tomba-Api-Secret:
      $ref: "components/securitySchemes/Tomba-Api-Secret.yaml"
tags:
  - name: Finder
    description: ドメイン、名前、記事、LinkedIn プロフィールからメールアドレスを検索し、エンリッチします
    x-displayName: Finder
  - name: Verifier
    description: メールアドレスがメールを受信できるかどうかを確認します
    x-displayName: Verifier
  - name: Enrichment
    description: Clearbit 互換形式の人物と企業のプロフィール
    x-displayName: Enrichment
  - name: Phone
    description: 電話番号を検索して検証します
    x-displayName: 電話番号
  - name: Domain
    description: ドメインの類似 Web サイト、テクノロジー、Web メールまたは使い捨てかどうかのステータス
    x-displayName: ドメイン
  - name: Email
    description: メールアドレスが見つかった Web ページ
    x-displayName: メール
  - name: Domain Suggestions
    description: 企業名から企業のドメインを検索します
    x-displayName: ドメイン候補
  - name: Reveal
    description: 業種、規模、所在地などのフィルターで企業を検索します
    x-displayName: Reveal
  - name: Bulks
    description: 一括ジョブを作成、開始、追跡、ダウンロードします。すべてのルートはパスに一括タイプを含みます
    x-displayName: Bulks
  - name: Scrape Campaigns
    description: LinkedIn、Sales Navigator、Apollo で収集したレコードを保存し、Tomba にメールアドレスを検索させて、結果をダウンロードします
    x-displayName: スクレイピングキャンペーン
  - name: Leads
    description: リードを保存して管理します
    x-displayName: Leads
  - name: Lead Lists
    description: リードをリストに整理します
    x-displayName: Lead Lists
  - name: Lead Attributes
    description: リードのカスタム属性を定義します
    x-displayName: Lead Attributes
  - name: Account
    description: アカウントの詳細、利用量、リクエストログ、レート制限
    x-displayName: アカウント
  - name: Keys
    description: API キーを作成、ローテーション、削除します
    x-displayName: キー
  - name: Flag
    description: 誤ったデータとハードバウンスを報告します
    x-displayName: 報告
  - name: MCP Server
    description: AI アシスタント向けの Model Context Protocol エンドポイント
    x-displayName: MCP Server
externalDocs:
  description: 開発者向け - API の完全なドキュメント
  url: https://docs.tomba.io
security:
  - Tomba-Api-Key: []
    Tomba-Api-Secret: []
