Firecrawl icon

Firecrawl

Scrape, crawl, map, search, and extract structured data from websites using Firecrawl API

Account → Get historical token usage

AI-generated

Overview

This node interacts with the Firecrawl API to retrieve historical token usage data for an account. It is useful for monitoring and analyzing API token consumption over time, helping users manage their usage and costs effectively. For example, a user can track how many tokens were used in the past month to optimize their API calls.

Use Case Examples

  1. Retrieve historical token usage data for an account to monitor API consumption.
  2. Analyze token usage trends to manage API costs.

Properties

Name Meaning
Use Custom Body Determines whether to use a custom request body for the API call.
Request Options Settings to control request behavior such as batching, SSL certificate validation, proxy usage, and timeout duration.

Output

JSON

  • tokenUsage
    • date - The date for the token usage record.
    • tokensUsed - The number of tokens used on the given date.
    • accountId - The account identifier associated with the token usage.

Dependencies

  • Firecrawl API
  • An API key credential for Firecrawl API authentication

Troubleshooting

  • Ensure the Firecrawl API credentials are correctly configured to avoid authentication errors.
  • If using a proxy, verify the proxy URL and credentials are correct to prevent connection failures.
  • Adjust the timeout setting if requests are timing out due to slow server responses.
  • If SSL certificate validation fails and the 'Ignore SSL Issues' option is not enabled, the request will be rejected.

Discussion