[{"data":1,"prerenderedAt":164},["ShallowReactive",2],{"integrations-wordpress":3},{"id":4,"title":5,"body":6,"canonical":13,"card":14,"component":19,"createdAt":20,"description":21,"difficulty":22,"extension":23,"faq":24,"featured":37,"indexStory":38,"intent":43,"keywords":44,"meta":49,"metaTitle":50,"navigation":51,"pageType":15,"path":18,"sections":52,"seo":159,"slug":160,"status":161,"stem":162,"timeToComplete":22,"updatedAt":20,"__hash__":163},"integrations/integrations/wordpress.md","API Butler + WordPress",{"type":7,"value":8,"toc":9},"minimark",[],{"title":10,"searchDepth":11,"depth":11,"links":12},"",2,[],"https://getapibutler.com/integrations/wordpress",{"tag":15,"headline":16,"summary":17,"href":18},"Integration","WordPress","Expose CSV exports as REST JSON and consume them in WordPress via custom code, plugins, or integrations that support external REST APIs.","/integrations/wordpress","IntegrationTemplate","2026-05-01","Use API Butler to turn CSV data into a REST API and connect it to WordPress as an external JSON data source.",null,"md",[25,28,31,34],{"question":26,"answer":27},"Is there a native API Butler WordPress plugin?","No. This page describes using API Butler as an external REST API. You connect WordPress through custom code, third-party plugins, or other tools that support HTTP requests to external APIs.",{"question":29,"answer":30},"Does API Butler host my WordPress site?","No. API Butler provides CSV-backed REST endpoints only. WordPress hosting, themes, and plugins remain on your side.",{"question":32,"answer":33},"Can I use this for WooCommerce products?","You can use JSON from API Butler alongside WooCommerce when your implementation maps external rows into products or custom tables—but that mapping is your custom or plugin logic, not something API Butler enforces.",{"question":35,"answer":36},"How do I keep data fresh?","Update the underlying CSV in API Butler so the endpoint reflects new rows. WordPress consumers should cache responsibly and refetch on a schedule or when caches expire.",false,{"eyebrow":15,"title":16,"description":17,"readMoreLabel":39,"flowLabel":40,"requestLine":41,"responseLine":42},"Read integration","Source data -> integration API","GET /v1/apis/integration?limit=20","{ \"data\": [{ \"id\": \"item-1\" }], \"total\": 1 }","Commercial",[45,46,47,48],"wordpress rest api external data","wordpress external api","wordpress json api","csv to wordpress api",{},"API Butler + WordPress | CSV to REST API for WordPress",true,{"hero":53,"quickAnswer":57,"problem":60,"useCaseWorkflow":72,"howItWorks":90,"technicalExample":109,"whoUsesIt":119,"cta":134},{"eyebrow":54,"title":55,"description":56},"Integration · WordPress","External JSON from CSV—without building a custom backend","API Butler turns CSV files into REST APIs. Use those endpoints in WordPress as an external data layer for catalogs, listings, and custom blocks—where your setup supports fetching external REST APIs.",{"label":58,"text":59},"Quick answer","Upload a CSV to API Butler to get a stable REST endpoint that returns JSON. In WordPress, call that URL from custom code, a suitable plugin, or another integration that can request external REST APIs—then map the JSON into templates, blocks, or headless-style front ends. API Butler is the data/API layer; WordPress remains your CMS.",{"label":61,"items":62},"Why this works",[63,66,69],{"title":64,"description":65},"Stable API instead of fragile file drops","Replace ad-hoc CSV imports with a versioned HTTP contract your theme or automation can call on a schedule.",{"title":67,"description":68},"WordPress stays the presentation layer","API Butler does not replace the block editor or hosting; it supplies structured JSON your site or workflow consumes.",{"title":70,"description":71},"Fits headless-ish and hybrid setups","Use the same endpoint for classic PHP themes, REST-aware plugins, or decoupled front ends that still use WordPress for content ops.",{"title":73,"beats":74},"Example workflow",[75,79,83,86],{"label":76,"title":77,"detail":78},"Source","Export or maintain a canonical CSV","Product rows, locations, or inventory from spreadsheets or tools that export CSV.",{"label":80,"title":81,"detail":82},"API Butler","Publish CSV as REST JSON","GET /v1/apis/catalog/items?limit=50 returns paginated JSON.",{"label":16,"title":84,"detail":85},"Fetch JSON where your stack allows","Use the API in WordPress via custom code, plugins, or integrations that support external REST APIs—not a native API Butler plugin.",{"label":87,"title":88,"detail":89},"Site","Render listings or custom blocks","Map fields into templates, shortcodes, or block attributes; cache responses where appropriate.",{"title":91,"steps":92},"Step-by-step guide",[93,97,101,105],{"number":94,"title":95,"description":96},"01","Prepare and upload CSV","Use clear headers and upload to API Butler; note your public or authenticated endpoint URL.",{"number":98,"title":99,"description":100},"02","Verify JSON in a client","curl or REST Client—confirm filters, pagination, and private API keys if enabled.",{"number":102,"title":103,"description":104},"03","Choose the WordPress integration path","Options include custom PHP (wp_remote_get), block or theme code, or plugins that pull remote JSON—pick what matches your security and caching needs.",{"number":106,"title":107,"description":108},"04","Map and cache","Transform JSON to HTML or block data; use transients or object cache to avoid hammering the API on every page view.",{"examples":110},[111,115],{"title":112,"language":113,"code":114},"Example GET (public endpoint)","bash","curl \"https://api.getapibutler.com/v1/apis/products/items?category=gear&limit=25\"",{"title":116,"language":117,"code":118},"Sample JSON fragment","json","{\n  \"data\": [\n    { \"id\": \"SKU-441\", \"name\": \"Trail pack\", \"price\": \"129.00\" }\n  ],\n  \"total\": 84\n}\n",{"label":120,"items":121},"Use cases",[122,126,130],{"tag":123,"title":124,"description":125},"Catalogs","Product or service listings","Keep merchandising data in CSV while the site reads live JSON for cards and archive pages.",{"tag":127,"title":128,"description":129},"Directories","Locations, teams, or partners","Large external datasets without stuffing every row into the posts table.",{"tag":131,"title":132,"description":133},"Ops","Bridge spreadsheets and the site","Ops updates CSV; API Butler refreshes the API; WordPress consumers pick up new data on the next fetch.",{"label":135,"title":136,"description":137,"primaryCtaLabel":138,"primaryCtaHref":139,"links":140},"Next step","Create the API layer, then wire WordPress to it.","Start with one CSV endpoint, validate JSON, then connect your preferred WordPress integration path.","Turn CSV into an API","/",[141,144,147,150,153,156],{"label":142,"href":143},"Product overview","/product",{"label":145,"href":146},"CSV to REST API","/use-cases/csv-to-rest-api",{"label":148,"href":149},"Excel to API","/use-cases/excel-to-api",{"label":151,"href":152},"Zapier integration","/integrations/zapier",{"label":154,"href":155},"Make integration","/integrations/make",{"label":157,"href":158},"n8n integration","/integrations/n8n",{"title":5,"description":21},"wordpress","published","integrations/wordpress","em4BQKPYsYJaIVcUwAvEXAXGWHupW3w683wflsFB_C8",1782745366391]