Two easy options to embed live auctions on your nonprofit website — no developer required.
You will need the following values from your AuctionPage account. Find them under Settings → Integration in your NPO dashboard.
| Value | What it is | Where to find it | Your value |
|---|---|---|---|
API Endpoint |
Base URL for the AuctionPage API | Always https://portal.auctionpage.com |
|
API Key |
Your NPO's secret API key — keep this private | NPO Dashboard → Settings → API Key | |
NPO ID |
Your NPO's unique identifier (UUID) | NPO Dashboard → Settings → Organization Profile | |
NPO Name |
Display name shown in the auction widget | NPO Dashboard → Settings → Organization Profile | |
API Endpoint, API Key, NPO ID, and NPO Name.[auctionpage_listings]
This displays all active auctions for your NPO. To show a single specific listing, use:
[auctionpage_listing id="LISTING_ID"]
Replace LISTING_ID with the listing's ID from your NPO dashboard.
Use this option if your site is not WordPress — it works with any website that lets you edit HTML.
Place this <div> wherever you want auctions to appear on the page:
<div id="auctionpage-root"></div>
Paste this block just before the closing </body> tag. Fill in your values where shown.
<script>
window.AuctionPageConfig = {
apiEndpoint: 'https://portal.auctionpage.com',
apiKey: 'YOUR_API_KEY',
npoId: 'YOUR_NPO_ID',
npoName: 'Your NPO Name',
mountSelector: '#auctionpage-root',
defaultScope: 'local',
// Optional display settings
initialLimit: 12,
initialSort: 'ends_at_asc',
initialTag: '',
initialStatus: 'active'
};
</script>
<script src="https://portal.auctionpage.com/embed/auctionpage-main.js"></script>
YOUR_... placeholder with your real values from the Before You Start table above.
Add this inside your page's <head> section:
<link rel="stylesheet" href="https://portal.auctionpage.com/embed/auctionpage.css">
Before you can embed an event on your website, create it in the NPO portal. Events group auction items into a single time-bounded campaign — like a spring gala or annual drive — with their own preview and bidding windows.
In your NPO portal go to Events → New Event and fill in the following fields:
| Field | Required | Notes |
|---|---|---|
| Name | Yes | Displayed on the event page and in the embed (2–200 characters). |
| Description | No | Shown below the event title. Up to 5,000 characters. |
| Cover image | No | Uploaded directly in the portal; appears at the top of the event page. |
| Preview opens | Yes | When visitors can start browsing items. Must be before the start time. Bidding is not yet open during this window. |
| Bidding starts | Yes | When bids are accepted. Must be after the preview time. |
| Bidding ends | Yes | Must be after the start time. All bidding closes at this moment. |
| Visibility | No | Public (default) — items appear in worldwide search. Private — items are only visible on the event page itself; useful for invite-only campaigns. |
Click Save. The event is created immediately.
Open the event in the portal and use Add Item to create listings directly under it. Items added this way are automatically linked to the event and inherit its visibility setting. All event listings use fixed-price bids — there is no proxy bidding for event auctions.
You can also link existing approved listings to an event from the listing's detail page.
On the event detail page in the portal, copy the Event ID shown in the header or under Settings. You will need this when embedding the event on your website (see below).
Events are time-bounded fundraising campaigns — like a spring gala or annual drive — where all auction items are grouped on a single dedicated page. Only one type of auction display (standard listings or an event) can be mounted on a given page at a time.
In your NPO portal, open the event you want to embed and copy its Event ID from the event detail page.
Place this <div> on the page where the event's auction items should appear:
<div id="auctionpage-root"></div>
Use the same configuration as a standard embed, but add the eventId parameter. Paste this block just before the closing </body> tag:
<script>
window.AuctionPageConfig = {
apiEndpoint: 'https://portal.auctionpage.com',
apiKey: 'YOUR_API_KEY',
npoId: 'YOUR_NPO_ID',
npoName: 'Your NPO Name',
mountSelector: '#auctionpage-root',
eventId: 'YOUR_EVENT_ID',
};
</script>
<script src="https://portal.auctionpage.com/embed/auctionpage-main.js"></script>
Replace YOUR_EVENT_ID with the Event ID from Step 1. All other values come from your Before You Start table.
If it is not already on the page, add this inside your <head> section:
<link rel="stylesheet" href="https://portal.auctionpage.com/embed/auctionpage.css">
id exactly matches mountSelector in your config — it's case-sensitive.apiKey and apiEndpoint. Keys are shown only once in the dashboard — generate a new one if you've lost it.npoId matches the UUID in Settings → General and that your NPO has at least one active listing.Still stuck? Contact us at auctionpage.com/contact — our team typically responds within one business day.