public-roadmap icon indicating copy to clipboard operation
public-roadmap copied to clipboard

[Yelp Search API] Increased Response Time

Open aakashbohara opened this issue 10 months ago • 22 comments

When using the Yelp Search API to search for "business name" and "address", the response time is significantly increased (90.04 seconds), and the response returns a KeyError: 'organic_results'.

  1. Call the Yelp Search API using the following parameters:
    • find_desc: "business name"
    • find_loc: "address"
  2. Observe the increased response time (90.04 seconds).
  3. Notice the KeyError: 'organic_results' in the Python traceback.

Expected Behavior: The API should return valid results within a reasonable time frame and include the 'organic_results' field in the response.

Actual Behavior:

  • Response time: 90.04 seconds
  • Error: KeyError: 'organic_results'
  • Full traceback: Traceback (most recent call last): File "yelp_placeid.py", line 33, in getyelpplaceid("business name", "address") File "yelp_placeid.py", line 27, in getyelpplaceid organic_results = results["organic_results"] ~~~~~~~^^^^^^^^^^^^^^^^^^^ KeyError: 'organic_results'

aakashbohara avatar Feb 15 '25 06:02 aakashbohara

Hi @aakashbohara. Thank you for your report, and we apologize for the issue. We'll investigate it and share an update with you.

hilmanski avatar Feb 16 '25 22:02 hilmanski

A customer reported this.

Intercom

hilmanski avatar Feb 16 '25 23:02 hilmanski

A customer reported this:

Intercom

NateSkiles avatar Feb 17 '25 18:02 NateSkiles

A high-volume customer reported this:

Front

martin-serpapi avatar Feb 18 '25 10:02 martin-serpapi

Another user reported this:

Intercom

martin-serpapi avatar Feb 18 '25 10:02 martin-serpapi

Another customer reported this:

Front

NateSkiles avatar Feb 18 '25 18:02 NateSkiles

Another customer reported this:

Intercom

martin-serpapi avatar Feb 19 '25 07:02 martin-serpapi

More customer reports:

Intercom Intercom

alexbarron avatar Feb 19 '25 14:02 alexbarron

Just to update everyone; Yelp has recently made some major changes to the way they handle requests and serve responses that has caused the drop in success rates we have been seeing.

We are currently working on a solution for this, but due to the nature of the change our ETA at this stage is approximately one week. We will provide updates and revisions to the ETA as we know more.

Thank you for your patience, and I'm very sorry for the inconvenience.

dsojevic avatar Feb 20 '25 03:02 dsojevic

An Enterprise customer reported this:

Front

alexbarron avatar Feb 20 '25 16:02 alexbarron

A customer reported this.

Intercom

hilmanski avatar Feb 23 '25 22:02 hilmanski

Another customer reached out. They mentioned their searches are erroring out.

Intercom

sonika-serpapi avatar Feb 25 '25 19:02 sonika-serpapi

A user reached out:

Intercom

sonika-serpapi avatar Feb 25 '25 20:02 sonika-serpapi

Another user reported this:

Intercom

martin-serpapi avatar Feb 26 '25 07:02 martin-serpapi

Another update; a few different avenues are being explored to resolve this and there has been some great progress with one of them in particular but there is still work to be done to resolve this entirely.

In terms of a revised ETA, I'm estimating that we'll have something by early next week. Once again, thanks everyone for your patience.

dsojevic avatar Feb 27 '25 11:02 dsojevic

A user reported this.

Intercom

hilmanski avatar Mar 02 '25 22:03 hilmanski

We have been able to restore access to the Yelp Search API while we continue on a long term fix.

As this is an interim solution, response times may not be as consistent as prior to the downtime and you may see response times from as little as 1.5s to as high as 30s at this stage.

We will continue to work on improving the response times from this point and will keep this thread updated.

Thanks again everyone for your patience and understanding.

dsojevic avatar Mar 05 '25 00:03 dsojevic

@aakashbohara for visibility: https://github.com/serpapi/public-roadmap/issues/2411#issuecomment-2699366623

hilmanski avatar Mar 05 '25 02:03 hilmanski

Thanks @dsojevic for the update. I've reached out to the customers regarding this temporary fix.

hilmanski avatar Mar 05 '25 02:03 hilmanski

@aakashbohara Thanks for following up on this. Since the fix is only temporary while working on a more long-term solution, we'll keep this thread open for future updates.

alexbarron avatar Mar 06 '25 13:03 alexbarron

An Enterprise customer followed up on this:

Front

alexbarron avatar Mar 10 '25 11:03 alexbarron

Received another follow up from the same customer:

Front

alexbarron avatar Apr 25 '25 06:04 alexbarron

I'm closing this issue, as our response times seem to be improved for the Yelp Search API. @aakashbohara or anyone else affected by this issue, can you let us know if you're still experiencing this?

schaferyan avatar Jun 13 '25 00:06 schaferyan

I've updated the title to reflect only the downtime issue. The response times are still elevated, and I've opened a separate issue:

https://github.com/serpapi/public-roadmap/issues/2800

@aakashbohara for visibility

marm123 avatar Jun 13 '25 12:06 marm123