What is the new Entrez login for NCBI API?
0
0
Entering edit mode
6 months ago
xonq ▴ 60

NCBI recently offloaded logging in to other websites. How do we reliably set the email and API key variables to use Entrez with the API key? I have attempted my legacy NCBI login and it appears to timeout after too many queries in a script that used to work reliably.

Using BioPython, the Entrez login is done by using Bio.Entrez.email = email_str and Bio.Entrez.api_key = api_key

Entrez • 812 views
ADD COMMENT
0
Entering edit mode

There is no log in per se AFAIK. You simply provide those two strings when making a query. Have you tried to make sure that connectivity to NCBI is intact? I normally use EntrezDirect where you can simply set a system variable called NCBI_API_KEY that works.

ADD REPLY
0
Entering edit mode

the question I am asking is what is the new email we should use to fill those variables because NCBI changed how they reference emails. it used to be that you login to NCBI with a specific email address linked to an API key, now NCBI uses external logins, so what is the appropriate email to use?

ADD REPLY
0
Entering edit mode

If you are now logging in with a separate email address then request a new API key for that address.

ADD REPLY
0
Entering edit mode

I am using the same email, but through a google account. Perhaps I am mistaken with my script, but it doesn't appear to be allowing me to use the API key query rate.

ADD REPLY
0
Entering edit mode

Hey, I don't think you need to include your account email according to the E-utility document.

ADD REPLY

Login before adding your answer.

Traffic: 2026 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6