You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add UTM tracking parameters to all signup and pricing links
Enable attribution tracking for npm/Node SDK channel by adding
utm_source=npm&utm_medium=sdk&utm_campaign=readme to all signup
and pricing links. Added "Also Available As" cross-promotion section.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
**[Get Free API Key](https://www.oilpriceapi.com/signup)** | **[Documentation](https://docs.oilpriceapi.com)** | **[Pricing](https://www.oilpriceapi.com/pricing)**
10
+
**[Get Free API Key](https://www.oilpriceapi.com/signup?utm_source=npm&utm_medium=sdk&utm_campaign=readme)** | **[Documentation](https://docs.oilpriceapi.com)** | **[Pricing](https://www.oilpriceapi.com/pricing?utm_source=npm&utm_medium=sdk&utm_campaign=pricing)**
11
11
12
12
The official Node.js/TypeScript SDK for [OilPriceAPI](https://www.oilpriceapi.com) - Real-time and historical oil prices for Brent Crude, WTI, Natural Gas, and 100+ commodities.
13
13
@@ -39,7 +39,7 @@ import { OilPriceAPI } from "oilpriceapi";
39
39
40
40
// Initialize the client
41
41
const client =newOilPriceAPI({
42
-
apiKey: "your_api_key_here", // Get your free key at https://www.oilpriceapi.com
42
+
apiKey: "your_api_key_here", // Get your free key at https://www.oilpriceapi.com/signup
43
43
retries: 3, // Automatic retries (default: 3)
44
44
timeout: 30000, // Request timeout in ms (default: 30000)
45
45
});
@@ -712,7 +712,7 @@ new OilPriceAPI(config: OilPriceAPIConfig)
712
712
713
713
**Parameters:**
714
714
715
-
-`config.apiKey` (string, required) - Your API key from https://www.oilpriceapi.com
715
+
-`config.apiKey` (string, required) - Your API key from https://www.oilpriceapi.com/signup
716
716
-`config.baseUrl` (string, optional) - Custom API base URL (for testing)
717
717
718
718
#### Methods
@@ -934,7 +934,7 @@ See the [full list of 79 commodities](https://www.oilpriceapi.com/commodities) i
934
934
-**Business**: 200,000 requests/month - $199/mo
935
935
-**Enterprise**: Custom limits - Contact us
936
936
937
-
Get started with a free API key at [oilpriceapi.com](https://www.oilpriceapi.com).
937
+
Get started with a free API key at [oilpriceapi.com/signup](https://www.oilpriceapi.com/signup?utm_source=npm&utm_medium=sdk&utm_campaign=readme).
938
938
939
939
## Requirements
940
940
@@ -968,7 +968,7 @@ MIT License - see [LICENSE](LICENSE) file for details.
0 commit comments