Request bot/API access for ASESYayinlariBot – ASES Yayınları MARC import
Hello Open Library Team,
I am Ali Söylemez from ASES Yayınları, an academic publisher based in Türkiye.
We would like to contribute our publisher's academic book metadata to Open Library.
Bot account: ASESYayinlariBot
Publisher: ASES Yayınları
Publisher website: https://asesyayinevi.com/
Open-access catalogue: https://asesyayinevi.com/yayinlanmis-kitaplar/
OAI-PMH: https://asesyayinevi.com/oai-pmh/
Our current catalogue contains 46 academic books. All books have ISBNs, full bibliographic metadata, and persistent DOIs registered through DataCite/Zenodo. We also have MARCXML metadata available for the catalogue.
We would like to use the Open Library import workflow to add and maintain these records in bulk rather than creating each record manually.
Could you please grant bot privileges and add the account ASESYayinlariBot to the API usergroup?
We will follow the Open Library bot and bulk-import guidelines and will not run bulk modifications before the import workflow is reviewed and approved.
Thank you.
Best regards, Ali Söylemez ASES Yayınları https://asesyayinevi.com/
Thank you @asesyayinevi-ops for submitting this issue!
⚠️ Contributors, this issue will be ready to work on once:
- [ ] Triage — maintainers will add
Priority: *andLead: @* - [ ] Needs: Staff Decision — a maintainer must decide whether to grant an external publisher's bot account write access via the API usergroup, and if so, which import path it should use
- [ ] Needs: Staff / Internal — granting
/usergroup/apimembership and bot-flagging an account is an admin/Infobase action only staff can perform
Context (research findings)
- Open Library's import pipeline has three write entry points:
POST /api/import(single record, JSON/MARC/RDF/OPDS),POST /api/import/ia(byocaid), andPOST /import/batch/new(JSONL batch) — see docs/ai/imports/index.md#L16-L20. The docs explicitly flag/api/importas "planned for deprecation in BookWorm Phase 3" and state batch/JSONL is the preferred path for new sources — docs/ai/imports/api.md#L71-L84. /import/batch/newsubmissions from non-admin accounts land instatus="needs_review"and wait for manual admin approval at/import/batch/pending— there is "currently no trusted-partner tier" (docs/ai/imports/api.md#L84). This means even with API-usergroup/bot status granted, a 46-record catalogue would still route through review rather than writing directly — worth noting since the request asks for "bulk" import capability.- The repo's documented adapter pattern for a new external source is a
sources/<slug>/pair (record.py+provider.py) in the separateopenlibrary-botsrepo, not code in this repo — docs/ai/imports/adding-sources.md#L5-L29. The framework hasJSONLProvider,PaginatedAPIProvider, andOPDSProviderbase classes; there is no built-in OAI-PMH provider (grepforoai_pmh/OAI-PMHacrossopenlibrary/returns no matches), so an OAI-PMH source would need a new provider subclass overridingiter_records(). - MARCXML is a supported input format for
POST /api/import(parsed viaMarcXmlinopenlibrary/catalog/marc/marc_xml.py), so the raw-MARCXML angle of this request is technically feasible without new parsing code — but per the point above, the batch/JSONL path is preferred for new sources regardless of source format. - This is the fourth open "bot/API access" request of this shape currently awaiting a decision: #13222 (Portuguese national library import), #13191 (
pillarsdotnetBot339,/usergroup/apifor single-field edits), #12887 and #13136 (AgenticCommonsBot, author metadata). All four were labeledModule: Import,Theme: Bots, andNeeds: Staff Decision; #13191, the closest analog (also just requesting/usergroup/api), additionally carriesNeeds: Staff / Internal. None of the four has been resolved yet, so there's no established precedent yet for how (or whether) external-publisher bot grants are approved. - No existing issue or PR specifically mentions ASES Yayınları,
asesyayinevi.com, or a Turkish-publisher import — this appears to be a new, non-duplicate request.
Issue Assessment
Open questions
- Is a dedicated bot account with direct
/api/importor bulk-write access actually needed for a one-time/small ongoing catalogue of 46 books, or would submission through/import/batch/newunder the publisher's existing (non-bot) account — subject to the standardneeds_reviewadmin approval queue — meet the stated goal without a new access grant? - The issue mentions an OAI-PMH endpoint (
https://asesyayinevi.com/oai-pmh/) as well as MARCXML — which is the intended ingestion path? No OAI-PMH provider currently exists in the import framework, so if that's the preferred route, new provider code would be required (inopenlibrary-bots, not this repo). - Is "MARC import" here MARC21 or another MARC flavor (e.g. UNIMARC, as seen with the Portuguese national library data in #13222)? The OL parsers (
MarcXml,MarcBinary) assume MARC21 semantics. - Ongoing maintenance is mentioned ("add and maintain these records in bulk") — does this mean recurring updates to the same 46+ records, and if so, on what cadence?
Action items
- [ ] Staff decision needed: whether to grant a new external-publisher bot account API-usergroup/write access at all, versus directing the publisher to submit via the standard batch-import + admin-review flow under a regular account.
- [ ] If bot access is granted, clarify which endpoint/adapter pattern the bot should use (MARCXML →
/api/import, or a JSONL adapter →/import/batch/newper the preferred-path guidance above).
🔔 Stakeholders
@hornc — MARC/imports/metadata area owner per project stakeholder mapping; this request (and the three other open bot-access requests in the same category) fall under MARC import review.
Full triage checklist
- [x] Triage — labels applied (
Module: Import,Affects: Data,Needs: Triage,Needs: Lead,Needs: Staff Decision,Needs: Staff / Internal); noPriority:orLead: @*set (staff-only) - [x] Problem / opportunity — clear: publisher wants to contribute/maintain 46 academic books' metadata via bulk import rather than manual entry
- [x] Scope — well-scoped to one publisher's catalogue and one access request
- [ ] Justification — impact stated (46 books, ISBNs, DOIs) but not why manual entry or the existing review-queue batch path is insufficient for this volume
- [ ] Success & testing criteria — no explicit criteria for what a successful, approved import looks like
- [ ] Proposal & breakdown — no concrete integration plan (which endpoint, which adapter, review process); MARCXML and OAI-PMH are both mentioned without indicating which is intended
- [x] If bug: environment & repro steps — not applicable, this is not a bug report
- [x] Risks, concerns, open questions — surfaced above (access-scope, endpoint choice, MARC dialect, recurrence)
- [x] Richy context — codebase and related-issue research done; no duplicate found, but three closely analogous pending bot-access requests identified
- [x] References — publisher site, catalogue, and OAI-PMH URLs provided
[!NOTE] This comment was automatically generated by Richy, Open Library's issue enrichment assistant, on behalf of @mekarpeles. This is NOT a sign-off. This issue needs lead review before work begins.
Hi @asesyayinevi-ops, for now it should be relatively easy to do a 1-time import of 46 books in your catalog. They can be done according to the https://openlibrary.org/import/batch/new API.
The first step would be to write an adapter or script that goes from your catalog's data to our https://github.com/internetarchive/openlibrary/blob/master/openlibrary/schemata/import.schema.json format.
Next, you can take the resulting json data and submit it as a batch.
You may also decide that it makes sense to add an identifier type for your institution (we have examples we can link you to, e.g. https://github.com/internetarchive/openlibrary/pull/12947/changes)
@rattnak may also be able to help advise!
Hi @mekarpeles, Thank you. We have successfully tested the batch import endpoint.
Our test record was accepted as Batch #2003 and is currently in needs_review status. When we click “Approve”, we receive Permission Denied, which appears to be expected because approval requires admin privileges.
We have prepared the complete JSONL batch for our 46 ASES Publishing books. Could you please approve Batch #2003 and advise whether we should submit the full 46-book batch for your review, or whether our account can be granted the appropriate batch-import approval permissions?
Thank you very much for your assistance.
Mek @.***>, 10 Ağu 2026 Pzt, 21:46 tarihinde şunu yazdı:
mekarpeles left a comment (internetarchive/openlibrary#13285) https://github.com/internetarchive/openlibrary/issues/13285#issuecomment-5244511063
Hi @asesyayinevi-ops https://github.com/asesyayinevi-ops, for now it should be relatively easy to do a 1-time import of 46 books in your catalog. They can be done according to the https://openlibrary.org/import/batch/new API.
The first step would be to write an adapter or script that goes from your catalog's data to our https://github.com/internetarchive/openlibrary/blob/master/openlibrary/schemata/import.schema.json format.
Next, you can take the resulting json data and submit it as a batch.
You may also decide that it makes sense to add an identifier type for your institution (we have examples we can link you to, e.g. https://github.com/internetarchive/openlibrary/pull/12947/changes)
@rattnak https://github.com/rattnak may also be able to help advise!
— Reply to this email directly, view it on GitHub https://github.com/internetarchive/openlibrary/issues/13285?email_source=notifications&email_token=CK743VUYRRUP5BSAEG56RB35JIKBZA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTKMRUGQ2TCMJQGYZ2M4TFMFZW63VHNVSW45DJN5XKKZLWMVXHJLDGN5XXIZLSL5RWY2LDNM#issuecomment-5244511063, or unsubscribe https://github.com/notifications/unsubscribe-auth/CK743VU7XOBNLIS733KPURD5JIKBZAVCNFSNUABBKJSXA33TNF2G64TZHM3DSNRQHE5US43TOVSTWNJQHE3DIOJTG44DDILWAI . Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS https://github.com/notifications/mobile/ios/CK743VTOJ2P43343XRONNVD5JIKBZA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTKMRUGQ2TCMJQGYZ2M4TFMFZW63VHNVSW45DJN5XKKZLWMVXHJKTGN5XXIZLSL5UW64Y and Android https://github.com/notifications/mobile/android/CK743VTEPYFJI5EM4LCOFED5JIKBZA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTKMRUGQ2TCMJQGYZ2M4TFMFZW63VHNVSW45DJN5XKKZLWMVXHJLTGN5XXIZLSL5QW4ZDSN5UWI. Download it today! You are receiving this because you were mentioned.Message ID: @.***>
Hi @mekarpeles, Thank you. We have successfully tested the batch import endpoint.
Our test record was accepted as Batch #2003 and is currently in needs_review status. When we click “Approve”, we receive Permission Denied, which appears to be expected because approval requires admin privileges.
We have prepared the complete JSONL batch for our 46 ASES Publishing books. Could you please approve Batch #2003 and advise whether we should submit the full 46-book batch for your review, or whether our account can be granted the appropriate batch-import approval permissions?
Thank you very much for your assistance.
Hello Open Library Team,
I would like to kindly follow up on this request regarding ASESYayinlariBot and the bulk import of ASES Yayınları’s open-access academic books.
We currently have 46 open-access academic books ready for import, with structured bibliographic metadata including ISBNs, persistent DataCite DOIs, MARC/MARCXML metadata, and direct open-access full-text links.
We have also prepared the records for batch import and would be happy to adjust the metadata or import format according to Open Library’s requirements.
Could you please let us know whether any additional information, verification, or technical changes are required from our side for the bot/API access request to proceed?
Inclusion in Open Library is important to us because it will improve the international discovery and library visibility of our open-access academic publications.
Thank you very much for your time and consideration.
Best regards, Ali Söylemez ASES Yayınları Türkiye [email protected] https://asesyayinevi.com/
Hi @asesyayinevi-ops, happy to help, and thanks @mekarpeles for the ping.
Regarding the "Permission Denied" response when approving Batch #2003: that is expected. Batch approval is restricted to administrators, and bot or API-usergroup membership does not grant approval access. Non-admin submissions land in needs_review by design, so that step is blocked on staff rather than on anything in your setup.
I've recently worked on two importers: scripts/import_bookdash.py and an in-progress importer for ITAN Global Publishing (#13409). The ITAN importer is the closer match because ITAN also provides a JSONL catalogue, requiring mostly field cleanup and mapping to import.schema.json.
Before submitting all 46 records, a few things are worth checking:
title,source_records,authors,publishers, andpublish_dateare all required by the schema. A record missing any of them will fail validation.- Give every record a stable, unique
source_recordsvalue. The batch importer uses its first entry as the queue identifier for deduplication. - Format
authorsas a list of{"name": "..."}objects, not bare strings. - Omit empty fields instead of sending
[]or"". Empty fields such assubjectsandcontributionscreate avoidable review friction.
Since you already have MARCXML, Open Library's existing MARC parser under openlibrary/catalog/marc/ may be reusable for converting the records. However, direct MARCXML submission through /api/import requires write access, whereas the community /import/batch/new route accepts Open Library JSONL. @mekarpeles, would staff prefer direct MARC ingestion here, or conversion to JSONL through the reviewed batch workflow?
If you can share two or three representative MARCXML records, or an OAI-PMH request that retrieves them, I'd be glad to help sketch and validate the mapping.
@rattnak, Is this a candidate for a bulk MARC import? That would mean the MARC data could be hosted on archive.org, and the MARC records would be accessible and linked from the Open Library record, e.g.
- https://openlibrary.org/books/OL62505101M/An_evaluation_of_the_Children%27s_Scholarship_Fund
- https://openlibrary.org/show-records/harvard_bibliographic_metadata/20220215_046.bib.mrc:142852680:3206
How frequently are books added? For ~45 books, I think we should do a batch import (which can be done by ASESYayinlariBot without requiring a bot/api permissions).
@rattnak can we work with @asesyayinevi-ops on the process for creating a batch?