Gelbooru

Notice: We are now selling NEW Gelbooru Merch~! Domestic shipping is free on all orders! Do you have an artist tag on Gelbooru? Let us know so we can properly credit you!

Ticket Information - ID: #1409


ID:Category:SeverityReproducibilityDate SubmittedUpdated By:
0001409Bug ReportingHighalways05/13/25 02:41PMshionsan
Reportershionsan
Assigned to:geltas
Resolution:Resolved
View StatusPublic
Version:
Target Version:N/A
Summary:ID:>number results in empty API response
Description:API gives empty response if ID:>#number# is used in tags field.
Additional Info:
Jerl replied at 2025-05-13 17:20:20
Could not reproduce. The query https://gelbooru.com/index.php?page=dapi&s=post&q=index&tags=id:%3E=11931193&json=1, with 11931193 being the last post ID on the front page at the time of this note, produced an API output containing all of the posts on the first page.

Keep in mind that your request must be URLEncoded. If the URL you're loading literally contains the greater-than or less-than sign and your browser or web library isn't automatically converting it, it's going to fail.

What's the exact query you're using?

shionsan replied at 2025-05-13 19:11:06
I was using the less-than sign instead of its encoded alternative until today.
And looks like that was the issue. Thank you!