Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Trailing slash on cloud API URL disables keyless mode

Open Beginner friendly
#274 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
74/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
typescript

Research direction

Start at isCustomApiUrl(), where the raw URL comparison is described, and trace its effects on isKeylessMode() and cloud API-key validation. Add coverage for the cloud URL with and without a trailing slash, plus a genuinely custom URL. Done means both cloud forms behave identically while custom URLs remain custom.

Written by the indexing model from the issue text.

Description

Setting FIRECRAWL_API_URL or --api-url to https://api.firecrawl.dev/ makes the CLI treat the official cloud API as a custom server.

The trailing slash changes several auth decisions:

  • isKeylessMode() returns false
  • cloud API-key validation is skipped
  • scrape and search use the authenticated SDK path without a key

https://api.firecrawl.dev and https://api.firecrawl.dev/ should behave the same.

The comparison in isCustomApiUrl() currently uses the raw string. I’ll normalize trailing slashes before comparing the URL and add coverage for cloud and genuinely custom URLs.

Dominant language
TypeScript
Stars
635
Forks
106
Avg merge
4h 52m
Merged PRs (30d)
43

Getting set up

We have not checked this project's setup files yet. Start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from firecrawl/cli

All issues in firecrawl/cli

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.