Introducing NinjaPear Learn more

NinjaPear Logo NinjaPear
faq

Why Do We Charge Credits for 404s?

In our API, a 404 is considered a successful query, despite being classified as an error code. You can check our API reference manual sections on credits and status codes for official documentation at any time, but here we will explain the why of this policy.

When a request comes in, we don't know if it will be a typical success (200) or missing (404). We have to do work on our servers to run a query, and only then can we return a status code to you. Assuming our query runs successfully and we determine if data exists or not, we'll forward that existence status, along with all available data (which may be nothing), and charge you accordingly.

Should your request fail for any reason, we will never bill you for a failure such as 503 (service unavailable), 429 (rate limited), etc. But 404 means a successful query that did work on our servers and successfully returned nothing.

Megan Cutrofello
Megan is a technical writer and a developer advocate with 8+ years of experience. She stays ahead of the curve, finding answers to your questions before you even think to ask them.

Featured Articles

Here's what we've been up to recently.

I dismissed someone, and it was not because of COVID19

The cadence of delivery. Last month, I dismissed the employment of a software developer who oversold himself during the interview phase. He turned out to be on the lowest rung of the software engineers in my company. Not being good enough is not a reason to be dismissed. But not

sharedhere

I got blocked from posting on Facebook

I tried sharing some news on Facebook today, and I got blocked from posting in other groups. I had figured that I needed a better growth engine instead of over-sharing on Facebook, so I spent the morning planning the new growth engine. Growth Hacking I term what I do in